Browse Source

use TARGET_ARCH everywhere

Disable some test for metag to allow runtime testing again.
Rename the big math meta-data files and do not install them.

Cris and Metag can be runtime tested again.
Waldemar Brodkorb 7 years ago
parent
commit
19fd0dc93b

+ 1 - 1
Makefile.in

@@ -22,4 +22,4 @@ test_gen: $(LOCAL_INSTALL_PATH)
 
 install:
 	mkdir -p $(DESTDIR)/usr/lib/uclibc-ng-test
-	tar --exclude='*.[och]' -cvf - test/ | tar -xvf - -C $(DESTDIR)/usr/lib/uclibc-ng-test
+	tar --exclude='*.[ochm]' -cvf - test/ | tar -xvf - -C $(DESTDIR)/usr/lib/uclibc-ng-test

+ 0 - 0
test/math/auto-libm-test-in → test/math/auto-libm-test-in.m


+ 0 - 0
test/math/auto-libm-test-out → test/math/auto-libm-test-out.m


+ 1 - 1
test/math/gen-libm-test.pl

@@ -97,7 +97,7 @@ $ulps_file = $opt_u if ($opt_u);
 $output_dir = $opt_o if ($opt_o);
 
 $input = "libm-test.inc";
-$auto_input = "${srcdir}auto-libm-test-out";
+$auto_input = "${srcdir}auto-libm-test-out.m";
 $output = "${output_dir}libm-test.c";
 
 &parse_ulps ($ulps_file);

+ 1 - 1
test/misc/Makefile.in

@@ -3,7 +3,7 @@
 
 TESTS_DISABLED := outb tst-fnmatch bug-glob1 tst-gnuglob
 
-ifeq ($(TARGET_avr32),y)
+ifeq ($(TARGET_ARCH),avr32)
 TESTS_DISABLED += tst-inotify
 endif
 

+ 5 - 0
test/nptl/Makefile.in

@@ -1,6 +1,10 @@
 # uClibc-ng NPTL tests
 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 
+ifeq ($(TARGET_ARCH),metag)
+TESTS_DISABLED := tst-cleanup0 tst-cleanupx0
+endif
+
 TESTS := tst-align tst-align2 tst-atfork1 tst-attr1 tst-attr2 tst-attr3	\
 	tst-barrier1 tst-barrier2 tst-barrier3 tst-barrier4 tst-basic1	\
 	tst-basic2 tst-basic3 tst-basic4 tst-basic5 tst-basic6		\
@@ -54,6 +58,7 @@ TESTS += tst-clock tst-clock_nanosleep tst-cpuclock1 tst-cpuclock2	\
 	tst-mqueue7 tst-mqueue8 tst-mqueue9 tst-timer2 tst-timer3	\
 	tst-timer4 tst-timer5
 
+
 ifeq ($(TARGET_ARCH),i386)
 CFLAGS_tst-align := -malign-double -mpreferred-stack-boundary=4
 endif

+ 1 - 1
test/regex/Makefile.in

@@ -1,6 +1,6 @@
 # slowsdown embedded test runs extremely and always some
 # some tests are failing
 # for lm32 triggers gcc ICE with gcc 5.3.0
-# ifeq ($(TARGET_lm32),y)
+# ifeq ($(TARGET_ARCH),lm32)
 TESTS_DISABLED := testregex
 # endif

+ 1 - 1
test/time/Makefile.in

@@ -4,7 +4,7 @@
 TESTS_DISABLED := bug-asctime bug-asctime_r time tst-mktime2 tst-posixtz \
 	tst-strftime tst-strptime tst-timezone
 
-ifeq ($(TARGET_avr32),y)
+ifeq ($(TARGET_ARCH),avr32)
 TESTS_DISABLED += tst-timerfd
 endif
 

+ 1 - 1
test/unistd/Makefile.in

@@ -12,7 +12,7 @@ ifeq ($(UCLIBC_LINUX_SPECIFIC),)
 TESTS_DISABLED += tst-fallocate
 endif
 
-ifeq ($(TARGET_avr32),y)
+ifeq ($(TARGET_ARCH),avr32)
 TESTS_DISABLED += tst-fallocate tst-posix_fallocate tst-fallocate64
 endif