There was an error while loading. Please reload this page.
1 parent 8fc91ef commit aa816fdCopy full SHA for aa816fd
1 file changed
test/windows.bats
@@ -38,8 +38,12 @@ load bats_setup
38
;;
39
esac
40
skip_if_systcc_execute_is_unavailable
41
+ dll_source="${R}/libtcc.dll"
42
+ [ -r "${dll_source}" ] || dll_source="/c/Windows/System32/kernel32.dll"
43
+ [ -r "${dll_source}" ] || dll_source="/c/Windows/SysWOW64/kernel32.dll"
44
+ [ -r "${dll_source}" ]
45
mkdir -p "${TMP}/mq path"
- cp "${R}/libtcc.dll" "${TMP}/mq path/mqm.dll"
46
+ cp "${dll_source}" "${TMP}/mq path/mqm.dll"
47
run ${CJIT} --verb -L"${TMP}/mq path" -lmqm test/hello.c
48
assert_success
49
assert_output --partial 'Hello World!'
0 commit comments