@@ -25,19 +25,19 @@ root=`pwd`
2525cd $root /lrlex/examples/calc_manual_lex
2626echo " 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
2929cd $root /lrpar/examples/calc_actions
3030echo -n " 2 + 3 * 4" | cargo run --package nimbleparse -- src/calc.l src/calc.y -
3131echo " 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
3333cd $root /lrpar/examples/calc_ast
3434echo -n " 2 + 3 * 4" | cargo run --package nimbleparse -- src/calc.l src/calc.y -
3535echo " 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
3737cd $root /lrpar/examples/calc_parsetree
3838echo -n " 2 + 3 * 4" | cargo run --package nimbleparse -- src/calc.l src/calc.y -
3939echo " 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
4141cd $root /lrpar/examples/clone_param
4242echo -n " 1+++" | cargo run --package nimbleparse -- src/param.l src/param.y -
4343cd $root /lrpar/examples/start_states
0 commit comments