Austin Schuh | e89fa2d | 2019-08-14 20:24:23 -0700 | [diff] [blame] | 1 | @echo off |
| 2 | rem Copyright 2018 Google Inc. All rights reserved. |
| 3 | rem |
| 4 | rem Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | rem you may not use this file except in compliance with the License. |
| 6 | rem You may obtain a copy of the License at |
| 7 | rem |
| 8 | rem http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | rem |
| 10 | rem Unless required by applicable law or agreed to in writing, software |
| 11 | rem distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | rem See the License for the specific language governing permissions and |
| 14 | rem limitations under the License. |
| 15 | |
| 16 | rem Compile then run the Rust test. |
| 17 | |
| 18 | rem TODO(rw): how do we make this script abort the calling script in appveyor? |
| 19 | |
| 20 | cd rust_usage_test |
| 21 | cargo test -- --quiet || exit /b 1 |
Austin Schuh | 272c613 | 2020-11-14 16:37:52 -0800 | [diff] [blame^] | 22 | cargo run --bin=flatbuffers_alloc_check || exit /b 1 |
| 23 | cargo run --bin=flexbuffers_alloc_check || exit /b 1 |
| 24 | cargo run --bin=monster_example || exit /b 1 |
Austin Schuh | e89fa2d | 2019-08-14 20:24:23 -0700 | [diff] [blame] | 25 | cd .. |