diff --git a/bin/run_many b/bin/run_many index 5b3f9e36ed..82fa2e8cbe 100755 --- a/bin/run_many +++ b/bin/run_many @@ -8,8 +8,8 @@ # Generates the same "make test" command generated by the "ci_check" script. # # Usage: run_many [cfg] [test-program] [simulator] [nruns] [user_flags] -# For example, "run_many default hello-world vcs 2" will run the hello-world -# test-program with VCS twice. +# For example, "run_many pulp hello-world vcs 2" will run the hello-world +# test-program with VCS twice, pulp configuration. # # TODO: command-line argument processing is primitive. @@ -70,8 +70,8 @@ counter=0 until [ $counter -gt $RUNSM1 ] do THISSEED=`date +%N` - echo "make test CFG=$CFG TEST=$TESTPROGRAM SIMULATOR=$SIM GEN_START_INDEX=$counter RUN_INDEX=$counter USE_ISS=NO SEED=$THISSEED VSIM_USER_FLAGS=$USER_FLAGS" - make test CFG=$CFG TEST=$TESTPROGRAM SIMULATOR=$SIM GEN_START_INDEX=$counter RUN_INDEX=$counter USE_ISS=NO SEED=$THISSEED VSIM_USER_FLAGS=$USER_FLAGS + echo "make test CFG=$CFG TEST=$TESTPROGRAM SIMULATOR=$SIM GEN_START_INDEX=$counter RUN_INDEX=$counter USE_ISS=NO SEED=$THISSEED USER_RUN_FLAGS=$USER_FLAGS" + make test CFG=$CFG TEST=$TESTPROGRAM SIMULATOR=$SIM GEN_START_INDEX=$counter RUN_INDEX=$counter USE_ISS=NO SEED=$THISSEED USER_RUN_FLAGS=$USER_FLAGS ((counter++)) done @@ -83,9 +83,9 @@ echo " Simulator: $SIM" if [ -d "${SIM}_results" ]; then echo -n " Number of tests run: " - grep "SIMULATION" `find ${SIM}_results/default/$TESTPROGRAM -name ${SIM}-*` | wc -l + grep "SIMULATION" `find ${SIM}_results/$CFG/$TESTPROGRAM -name ${SIM}-*` | wc -l echo -n " Number of tests FAILED: " - grep "SIMULATION FAILED" `find ${SIM}_results/default/$TESTPROGRAM -name ${SIM}-*` | wc -l + grep "SIMULATION FAILED" `find ${SIM}_results/$CFG/$TESTPROGRAM -name ${SIM}-*` | wc -l echo else echo -e '\nNo tests found.\n'