symtab-parser-002.sh 352 B

1234567891011121314151617
  1. # symtab parser tests
  2. sh_test()
  3. {
  4. local interpreter="$1"
  5. local test_dir="$2"
  6. local test_name="$3"
  7. cd "$rootdir" || die "Failed to change to rootdir '$rootdir'"
  8. local test_file="${test_dir}/${test_name}.csv"
  9. "$interpreter" ./awlsim-symtab -I auto -O asc \
  10. "$test_file" - >/dev/null ||\
  11. test_failed "$(basename "$test_file") test failed"
  12. }