1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

tests: return early in x64_test.v on non AMD64 machines

This commit is contained in:
Delyan Angelov 2020-08-20 15:42:26 +03:00
parent 8c7bcad6b1
commit dfc4298125

View File

@ -4,6 +4,9 @@ import term
// TODO some logic copy pasted from valgrind_test.v and compiler_test.v, move to a module
fn test_x64() {
$if !amd64 {
return
}
if os.user_os() != 'linux' {
eprintln('x64 tests can only be run on Linux for now.')
exit(0)