passed_tests_only.awk 275 B

12345678910111213141516171819
  1. #!/usr/bin/awk -f
  2. BEGIN{
  3. getline < "PASSED"
  4. while(getline < "PASSED") {
  5. split($1$2$3, a, ",")
  6. test = a[1]
  7. passed[test]
  8. }
  9. }
  10. NF && ! /^#/ {
  11. test = $2$3
  12. if(test in passed) {
  13. s=$1 "_graphene ./pal_loader"
  14. for (i=2; i<=NF; i++) {
  15. s = s " " $i
  16. }
  17. print s
  18. }
  19. }