Skip to content

Commit 13e3a05

Browse files
committed
Simplify buildbot cache check.
1 parent 93450de commit 13e3a05

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.buildbot.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@ root=`pwd`
2525
cd $root/lrlex/examples/calc_manual_lex
2626
echo "2 + 3 * 4" | cargo run | grep "Result: 14"
2727
# Touching these files shouldn't invalidate the cache (via --cfg grmtools_extra_checks)
28-
touch src/main.rs && echo "2 + 3 * 4" | CACHE_EXPECTED=y cargo run | grep "Result: 14"
28+
touch src/main.rs && CACHE_EXPECTED=y cargo build
2929
cd $root/lrpar/examples/calc_actions
3030
echo -n "2 + 3 * 4" | cargo run --package nimbleparse -- src/calc.l src/calc.y -
3131
echo "2 + 3 * 4" | cargo run | grep "Result: 14"
32-
touch src/main.rs && echo "2 + 3 * 4" | CACHE_EXPECTED=y cargo run | grep "Result: 14"
32+
touch src/main.rs && CACHE_EXPECTED=y cargo build
3333
cd $root/lrpar/examples/calc_ast
3434
echo -n "2 + 3 * 4" | cargo run --package nimbleparse -- src/calc.l src/calc.y -
3535
echo "2 + 3 * 4" | cargo run | grep "Result: 14"
36-
touch src/main.rs && echo "2 + 3 * 4" | CACHE_EXPECTED=y cargo run | grep "Result: 14"
36+
touch src/main.rs && CACHE_EXPECTED=y cargo build
3737
cd $root/lrpar/examples/calc_parsetree
3838
echo -n "2 + 3 * 4" | cargo run --package nimbleparse -- src/calc.l src/calc.y -
3939
echo "2 + 3 * 4" | cargo run | grep "Result: 14"
40-
touch src/main.rs && echo "2 + 3 * 4" | CACHE_EXPECTED=y cargo run | grep "Result: 14"
40+
touch src/main.rs && CACHE_EXPECTED=y cargo build
4141
cd $root/lrpar/examples/clone_param
4242
echo -n "1+++" | cargo run --package nimbleparse -- src/param.l src/param.y -
4343
cd $root/lrpar/examples/start_states

0 commit comments

Comments
 (0)