run.sh 3.0 KB

1234567891011121314151617181920212223242526
  1. #!/bin/bash
  2. set -eo pipefail
  3. bash ../scripts/compile files/test-auto-ensure-no-unused-opts.cpp
  4. bash ../scripts/test-ref auto-ensure-no-unused-opts/r1 "$VALGRIND" ./test-auto-ensure-no-unused-opts
  5. bash ../scripts/test-ref auto-ensure-no-unused-opts/r2 "$VALGRIND" ./test-auto-ensure-no-unused-opts -test-count 3
  6. bash ../scripts/test-ref auto-ensure-no-unused-opts/r3 "$VALGRIND" ./test-auto-ensure-no-unused-opts -test-count 3 -sum-n 10 -min-val 1
  7. bash ../scripts/test-ref auto-ensure-no-unused-opts/r4 "$VALGRIND" ./test-auto-ensure-no-unused-opts -test-count 3 -sum-n 10 -min-value 10 -max-val 20
  8. bash ../scripts/test-ref auto-ensure-no-unused-opts/r5 "$VALGRIND" ./test-auto-ensure-no-unused-opts -test-count 3 -sum-n 10 -min-length 3 -min-value 10 -max-value 20
  9. bash ../scripts/test-ref auto-ensure-no-unused-opts/r6 "$VALGRIND" ./test-auto-ensure-no-unused-opts -test-count 3 -sum-n 10 -min-n 3 -min-value 10 -max-value 20 -bias-value 3
  10. bash ../scripts/test-ref auto-ensure-no-unused-opts/r7 "$VALGRIND" ./test-auto-ensure-no-unused-opts -test-count 3 -sum-n 10
  11. bash ../scripts/test-ref auto-ensure-no-unused-opts/r8 "$VALGRIND" ./test-auto-ensure-no-unused-opts -test-count 3 -sum-n 10 -min-value 10
  12. bash ../scripts/test-ref auto-ensure-no-unused-opts/r9 "$VALGRIND" ./test-auto-ensure-no-unused-opts -test-count 5 -sum-n 100 -min-n 3 -min-value 10 -max-value 20 -value-bias -3
  13. rm -f test-auto-ensure-no-unused-opts test-auto-ensure-no-unused-opts.exe
  14. bash ../scripts/compile files/test-suppress-auto-ensure-no-unused-opts.cpp
  15. bash ../scripts/test-ref suppress-auto-ensure-no-unused-opts/r1 "$VALGRIND" ./test-suppress-auto-ensure-no-unused-opts
  16. bash ../scripts/test-ref suppress-auto-ensure-no-unused-opts/r2 "$VALGRIND" ./test-suppress-auto-ensure-no-unused-opts -test-count 3
  17. bash ../scripts/test-ref suppress-auto-ensure-no-unused-opts/r3 "$VALGRIND" ./test-suppress-auto-ensure-no-unused-opts -test-count 3 -sum-n 10 -min-val 1
  18. bash ../scripts/test-ref suppress-auto-ensure-no-unused-opts/r4 "$VALGRIND" ./test-suppress-auto-ensure-no-unused-opts -test-count 3 -sum-n 10 -min-value 10 -max-val 20
  19. bash ../scripts/test-ref suppress-auto-ensure-no-unused-opts/r5 "$VALGRIND" ./test-suppress-auto-ensure-no-unused-opts -test-count 3 -sum-n 10 -min-length 3 -min-value 10 -max-value 20
  20. bash ../scripts/test-ref suppress-auto-ensure-no-unused-opts/r6 "$VALGRIND" ./test-suppress-auto-ensure-no-unused-opts -test-count 3 -sum-n 10 -min-n 3 -min-value 10 -max-value 20 -bias-value 3
  21. bash ../scripts/test-ref suppress-auto-ensure-no-unused-opts/r7 "$VALGRIND" ./test-suppress-auto-ensure-no-unused-opts -test-count 3 -sum-n 10
  22. bash ../scripts/test-ref suppress-auto-ensure-no-unused-opts/r8 "$VALGRIND" ./test-suppress-auto-ensure-no-unused-opts -test-count 3 -sum-n 10 -min-value 10
  23. bash ../scripts/test-ref suppress-auto-ensure-no-unused-opts/r9 "$VALGRIND" ./test-suppress-auto-ensure-no-unused-opts -test-count 5 -sum-n 100 -min-n 3 -min-value 10 -max-value 20 -value-bias -3
  24. rm -f test-suppress-auto-ensure-no-unused-opts test-suppress-auto-ensure-no-unused-opts.exe