6 # Setup the environment for run_test
7 # - run_test looks for `#define YYBTYACC` in ../config.h
8 # - run_test assumes a yacc binary exists in ../yacc instead of running "yacc"
9 # - run_test spams the test dir with files (polluting subsequent test runs),
10 # so it's better to copy all the files to a temporary directory created by
14 cp -Rf "$(dirname "$0")"/* "test"
15 cp -p /usr/bin/yacc ./yacc
17 cd "test" && ./run_test