+2016-12-21 Nick Alcock <nick.alcock@oracle.com>
+ Florian Weimer <fweimer@redhat.com>
+
+ [BZ #7065]
+ * csu/Makefile (tests): Empty assignment and document it.
+ (tests-static): Remove.
+ * csu/tst-empty.c: Move to...
+ * misc/tst-empty.c: ... here. Switch to new test driver.
+ * csu/tst-atomic.c: Move to...
+ * misc/tst-atomic.c: ... here. Switch to new test driver.
+ * csu/tst-atomic-long.c: Move to...
+ * misc/tst-atomic-long.c: ... here.
+ * misc/Makefile (tests): Add tst-empty, tst-atomic,
+ tst-atomic-long.
+ (tests-static): Add tst-empty.
+
2016-12-21 Rical Jasan <ricaljasan@pacific.net>
* manual/nss.texi: Change incorrect @vtable to @table.
generated += version-info.h
before-compile += $(objpfx)version-info.h
-tests := tst-empty tst-atomic tst-atomic-long
-tests-static := tst-empty
+# No tests are allowed in the csu/ subdirectory because the startup
+# code is compiled with special flags.
+tests =
ifeq (yes,$(build-shared))
extra-objs += S$(start-installed-name) gmon-start.os
tests := tst-dirname tst-tsearch tst-fdset tst-efgcvt tst-mntent tst-hsearch \
tst-error1 tst-pselect tst-insremque tst-mntent2 bug-hsearch1 \
tst-mntent-blank-corrupt tst-mntent-blank-passno bug18240 \
- tst-preadvwritev tst-preadvwritev64 tst-makedev
+ tst-preadvwritev tst-preadvwritev64 tst-makedev tst-empty \
+ tst-atomic tst-atomic-long
+tests-static := tst-empty
+
ifeq ($(run-built-tests),yes)
tests-special += $(objpfx)tst-error1-mem.out
endif
return ret;
}
-#define TEST_FUNCTION do_test ()
-#include "../test-skeleton.c"
+#include <support/test-driver.c>
return 0;
}
-#define TEST_FUNCTION do_test ()
-#include "../test-skeleton.c"
+#include <support/test-driver.c>