tests: return early in x64_test.v on non AMD64 machines
parent
8c7bcad6b1
commit
dfc4298125
|
@ -4,6 +4,9 @@ import term
|
||||||
|
|
||||||
// TODO some logic copy pasted from valgrind_test.v and compiler_test.v, move to a module
|
// TODO some logic copy pasted from valgrind_test.v and compiler_test.v, move to a module
|
||||||
fn test_x64() {
|
fn test_x64() {
|
||||||
|
$if !amd64 {
|
||||||
|
return
|
||||||
|
}
|
||||||
if os.user_os() != 'linux' {
|
if os.user_os() != 'linux' {
|
||||||
eprintln('x64 tests can only be run on Linux for now.')
|
eprintln('x64 tests can only be run on Linux for now.')
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
Loading…
Reference in New Issue