File: run.sh

package info (click to toggle)
luajit2 2.1-20230119-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,076 kB
  • sloc: ansic: 74,282; makefile: 678; cpp: 435; perl: 69; sh: 5
file content (14 lines) | stat: -rw-r--r-- 204 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
# set -x

# run test
lua ../dynasm.lua test_z_inst.c | gcc -DDASM_CHECKS -std=gnu99 -Wall -Werror -g -x c -o test_z_inst -
./test_z_inst
ec=$?

# cleanup
rm -f ./test_z_inst

# exit
exit $ec