From 86992622dc4556e8b0ccbbdd75b4b78310c556c8 Mon Sep 17 00:00:00 2001 From: herman ten brugge Date: Thu, 25 Jun 2020 09:10:11 +0200 Subject: [PATCH] do not disable all asm_test for macos --- tests/tcctest.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/tcctest.c b/tests/tcctest.c index 800eb52c..4d5f96fd 100644 --- a/tests/tcctest.c +++ b/tests/tcctest.c @@ -3263,7 +3263,7 @@ void local_label_test(void) } /* inline assembler test */ -#if !defined(__APPLE__) && (defined(__i386__) || defined(__x86_64__)) +#if defined(__i386__) || defined(__x86_64__) /* from linux kernel */ static char * strncat1(char * dest,const char * src,size_t count) @@ -3685,6 +3685,7 @@ void test_asm_call(void) void asm_dot_test(void) { +#ifndef __APPLE__ int x; for (x = 1;; ++x) { int r = x; @@ -3724,6 +3725,7 @@ void asm_dot_test(void) break; printf("asm_dot_test %d: %d\n", x, r); } +#endif } void asm_test(void)