History

do not disable all asm_test for macos

herman ten brugge committed 6 years ago

Commit 86992621 parent 383acf81 file · +3 −1Browse files

Unified · Split

tests/tcctest.c+3−1
@@ -3263,7 +3263,7 @@ void local_label_test(void) · 3262 unmodified lines
32633263 }
32643264
32653265 /* inline assembler test */
3266−#if !defined(__APPLE__) && (defined(__i386__) || defined(__x86_64__))
3266+#if defined(__i386__) || defined(__x86_64__)
32673267
32683268 /* from linux kernel */
32693269 static char * strncat1(char * dest,const char * src,size_t count)
@@ -3685,6 +3685,7 @@ void test_asm_call(void) · 415 unmodified lines
36853685
36863686 void asm_dot_test(void)
36873687 {
3688+#ifndef __APPLE__
36883689 int x;
36893690 for (x = 1;; ++x) {
36903691 int r = x;
@@ -3724,6 +3725,7 @@ void asm_dot_test(void) · 33 unmodified lines
37243725 break;
37253726 printf("asm_dot_test %d: %d\n", x, r);
37263727 }
3728+#endif
37273729 }
37283730
37293731 void asm_test(void)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t