summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2019-12-19 16:14:10 +0200
committerAdrian Thurston <thurston@colm.net>2019-12-19 16:16:05 +0200
commita60a18880ecd3549aaafbb199abb6d159a4941a1 (patch)
tree630250f0150ab33d635cf955f974fbea7ddffc99 /test
parent33a1d9896f2dc7d31b8c0b97feed33b902aeee27 (diff)
downloadcolm-a60a18880ecd3549aaafbb199abb6d159a4941a1.tar.gz
testing: added a configure check for ASM tests
Addded a configure check to see if the ASM tests are appropriate. If we can build a basic ASM file with .rodata references, assume we can run the tests.
Diffstat (limited to 'test')
-rw-r--r--test/ragel.d/gentests.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ragel.d/gentests.sh b/test/ragel.d/gentests.sh
index 941ef448..86c81da2 100644
--- a/test/ragel.d/gentests.sh
+++ b/test/ragel.d/gentests.sh
@@ -108,6 +108,7 @@ rust_compiler="@RUST_BIN@"
crack_interpreter="@CRACK_BIN@"
julia_interpreter="@JULIA_BIN@"
gnustep_config="@GNUSTEP_CONFIG@"
+assembler="@ASM_BIN@"
if [ -z "$gnustep_config" ]; then
objc_compiler=""
@@ -260,7 +261,7 @@ function lang_opts()
lang_opt="--asm"
code_suffix=s
interpreted=false
- compiler="gcc"
+ compiler="$assembler"
host_ragel=$RAGEL_ASM_BIN
flags=""
libs=""