GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — lakeroad/run-tests.sh at main · gussmith23/lakeroad Expand file tree/ Copy pathrun-tests.shMore file actions executable file ·39 lines (32 loc) · 1.37 KB / Copy pathrun-tests.shFile metadata and controlsexecutable file ·39 lines (32 loc) · 1.37 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 set -e SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd) LAKEROAD_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd) declare -rx LAKEROAD_DIR if [ -z ${LLVM_CONFIG+x} ]; then echo "LLVM_CONFIG is unset" exit 1 fi pushd "$LAKEROAD_DIR" >/dev/null # Racket tests. # # We could use the -j flag of raco test to run tests in parallel, but instead, # we expect every test to parallelize itself if needed. We get more value out of # parallelizing individual tests (like how we use make to parallelize Verilation # in end-to-end builds), and multiple levels of parallelization would probably # cause some thrashing. # # We also time the tests, as the Racket tests are the slowest part of the testing process. for f in $SCRIPT_DIR/racket/*.rkt; do time raco test $f; done # Integration tests. source $SCRIPT_DIR/integration_tests/run.sh # Import Verilog to Racket and ensure that nothing changed. This is a somewhat # hacky way to ensure that the bitvector semantics used by Lakeroad are true to # the semantics produced by the current version of bin/verilog_to_racket.py, # while also not having to have tests tests that duplicate the contents of the # files in racket/generated/. ./import_all_primitives.sh [ -z "$(git status --porcelain)" ] || { echo >&2 "Error: files differ after re-importing Verilog to Racket:" git status >&2 exit 1 } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |