Studentenversion des ESY6/A Praktikums "signal_processing".
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

check_test_results.sh 262B

123456789101112131415
  1. #!/bin/bash
  2. script_dir=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)
  3. if [ $# -ne 1 ]
  4. then
  5. echo Usage $0 test-output-file
  6. exit 1
  7. fi
  8. cat $1 | sed -z -e 's/\(py_.* \[\)/ \[/g' | ${script_dir}/highlight_test_results.sh
  9. if grep -q FAIL $1
  10. then
  11. exit 1
  12. fi