diff --git a/.gitignore b/.gitignore index 50f8f60..edb4627 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ /build/ /Debug/ .settings -/.venv +/.venv* /Debug-PA/ /_build/ /install/ @@ -12,3 +12,5 @@ *.disass *.trc /*.core_desc +/fasterDecoding/ +*.ll \ No newline at end of file diff --git a/run_riscv_tests.sh b/run_riscv_tests.sh index e1b2ee4..81f7380 100755 --- a/run_riscv_tests.sh +++ b/run_riscv_tests.sh @@ -14,18 +14,20 @@ function print_help { echo " -s simulator arguments" echo " -h print help" echo " -v increase verbosity" + echo " -t set build type" } SIM_ARGS="-v1" BACKENDS=("interp" "tcc" "llvm") DEBUG=0 BUILD_TYPE=Debug -while getopts 'b:s:hv' c +while getopts 'b:s:hvt:' c do case $c in b) BACKENDS=($OPTARG);; s) SIM_ARGS=$OPTARG ;; h) print_help; exit 0 ;; v) DEBUG=1 ;; + t) BUILD_TYPE = $OPTARG;; ?) print_help >&2 exit 1 @@ -77,7 +79,7 @@ for backend in "${BACKENDS[@]}"; do echo $failed_list | tr ' ' '\n' else echo - echo "($backend) $tcount tests passed." + echo "($backend) All $tcount tests passed." if [ $DEBUG -eq 1 ];then echo "List of executed tests:" for t in $test_list; do