diff options
author | Adrian Thurston <thurston@colm.net> | 2019-12-19 16:14:10 +0200 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2019-12-19 16:16:05 +0200 |
commit | a60a18880ecd3549aaafbb199abb6d159a4941a1 (patch) | |
tree | 630250f0150ab33d635cf955f974fbea7ddffc99 /test | |
parent | 33a1d9896f2dc7d31b8c0b97feed33b902aeee27 (diff) | |
download | colm-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.sh | 3 |
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="" |