diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2024-03-17 02:37:39 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2024-03-17 02:37:39 -0400 |
commit | d618ab0fb5e083dd9880f22b7bdc43be4a3c0327 (patch) | |
tree | 59548909be587a96b02f023e16dbf56b288c082e /tests/run.sh | |
parent | 9385eaa149fae5d3c793f154611518342b7f3e9e (diff) | |
parent | f80bb4fd79f27210b606966c421ff3104ad0c959 (diff) |
Merge branch 'main' of git.cshift.net:CircleShift/ctc
Diffstat (limited to 'tests/run.sh')
-rwxr-xr-x | tests/run.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/run.sh b/tests/run.sh new file mode 100755 index 0000000..136dac1 --- /dev/null +++ b/tests/run.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +mkdir -p ./out/artifact +filename=$1 +filename="${filename%.*}" +../ctc $1 out/artifact/$filename.asm +nasm -f elf64 -o ./out/artifact/$filename.o ./out/artifact/$filename.asm +gcc -o ./out/$filename ./out/artifact/$filename.o + |