116 lines
3.2 KiB
Diff
116 lines
3.2 KiB
Diff
Fix make check launching (bug 121550)
|
|
|
|
NTP_CROSSCOMPILE_FALSE disables tests while cross-compiling.
|
|
Delete this flag to explicitly run tests for cross-compiled package.
|
|
|
|
Link:
|
|
Subject: enable tests for cross-compiled package
|
|
Bug: 121550
|
|
Tags: cross
|
|
|
|
diff -rupN a/sntp/tests/Makefile.am b/sntp/tests/Makefile.am
|
|
--- a/sntp/tests/Makefile.am 2020-06-12 01:46:21.559310759 +0300
|
|
+++ b/sntp/tests/Makefile.am 2020-06-12 01:47:36.631004902 +0300
|
|
@@ -221,9 +221,9 @@ $(srcdir)/run-t-log.c: $(srcdir)/t-log.c
|
|
|
|
TESTS =
|
|
|
|
-if !NTP_CROSSCOMPILE
|
|
+#if !NTP_CROSSCOMPILE
|
|
TESTS += $(check_PROGRAMS)
|
|
-endif
|
|
+#endif
|
|
#if !NTP_CROSSCOMPILE
|
|
#TESTS += tests-runner
|
|
#endif
|
|
diff -rupN a/tests/bug-2803/Makefile.am b/tests/bug-2803/Makefile.am
|
|
--- a/tests/bug-2803/Makefile.am 2020-06-12 01:45:29.551994169 +0300
|
|
+++ b/tests/bug-2803/Makefile.am 2020-06-12 01:48:08.533226564 +0300
|
|
@@ -55,9 +55,9 @@ $(srcdir)/run-bug-2803.c: $(srcdir)/bug-
|
|
|
|
TESTS =
|
|
|
|
-if !NTP_CROSSCOMPILE
|
|
+#if !NTP_CROSSCOMPILE
|
|
TESTS += $(check_PROGRAMS)
|
|
-endif
|
|
+#endif
|
|
|
|
## check-libntp.mf - automake fragment
|
|
## slightly adapted for deeper directory
|
|
diff -rupN a/tests/libntp/Makefile.am b/tests/libntp/Makefile.am
|
|
--- a/tests/libntp/Makefile.am 2020-06-12 01:45:13.835827262 +0300
|
|
+++ b/tests/libntp/Makefile.am 2020-06-12 01:48:27.228668513 +0300
|
|
@@ -562,9 +562,9 @@ $(srcdir)/run-ymd2yd.c: $(srcdir)/ymd2yd
|
|
|
|
TESTS =
|
|
|
|
-if !NTP_CROSSCOMPILE
|
|
+#if !NTP_CROSSCOMPILE
|
|
TESTS += $(check_PROGRAMS)
|
|
-endif
|
|
+#endif
|
|
|
|
## check-libntp.mf - automake fragment
|
|
## slightly adapted for deeper directory
|
|
diff -rupN a/tests/ntpd/Makefile.am b/tests/ntpd/Makefile.am
|
|
--- a/tests/ntpd/Makefile.am 2020-06-12 01:45:43.018709808 +0300
|
|
+++ b/tests/ntpd/Makefile.am 2020-06-12 02:05:56.523086158 +0300
|
|
@@ -198,9 +198,9 @@ $(srcdir)/run-t-ntp_scanner.c: $(srcdir)
|
|
|
|
TESTS =
|
|
|
|
-if !NTP_CROSSCOMPILE
|
|
+#if !NTP_CROSSCOMPILE
|
|
TESTS += $(check_PROGRAMS)
|
|
-endif
|
|
+#endif
|
|
|
|
## check-libntp.mf - automake fragment
|
|
## slightly adapted for deeper directory
|
|
diff -rupN a/tests/ntpq/Makefile.am b/tests/ntpq/Makefile.am
|
|
--- a/tests/ntpq/Makefile.am 2020-06-12 01:46:10.062114546 +0300
|
|
+++ b/tests/ntpq/Makefile.am 2020-06-12 02:04:31.993662312 +0300
|
|
@@ -70,9 +70,9 @@ $(srcdir)/run-t-ntpq.c: $(srcdir)/t-ntpq
|
|
|
|
TESTS =
|
|
|
|
-if !NTP_CROSSCOMPILE
|
|
+#if !NTP_CROSSCOMPILE
|
|
TESTS += $(check_PROGRAMS)
|
|
-endif
|
|
+#endif
|
|
|
|
## check-libntp.mf - automake fragment
|
|
## slightly adapted for deeper directory
|
|
diff -rupN a/tests/sandbox/Makefile.am b/tests/sandbox/Makefile.am
|
|
--- a/tests/sandbox/Makefile.am 2020-06-12 01:44:50.971404005 +0300
|
|
+++ b/tests/sandbox/Makefile.am 2020-06-12 02:04:25.085344061 +0300
|
|
@@ -81,9 +81,9 @@ BUILT_SOURCES += run-modetoa.c
|
|
|
|
TESTS =
|
|
|
|
-if !NTP_CROSSCOMPILE
|
|
+#if !NTP_CROSSCOMPILE
|
|
TESTS += $(check_PROGRAMS)
|
|
-endif
|
|
+#endif
|
|
|
|
## check-libntp.mf - automake fragment
|
|
## slightly adapted for deeper directory
|
|
diff -rupN a/tests/sec-2853/Makefile.am b/tests/sec-2853/Makefile.am
|
|
--- a/tests/sec-2853/Makefile.am 2020-06-12 01:45:58.364967164 +0300
|
|
+++ b/tests/sec-2853/Makefile.am 2020-06-12 02:06:17.128070919 +0300
|
|
@@ -58,9 +58,9 @@ $(srcdir)/run-sec-2853.c: $(srcdir)/sec-
|
|
|
|
TESTS =
|
|
|
|
-if !NTP_CROSSCOMPILE
|
|
+#if !NTP_CROSSCOMPILE
|
|
TESTS += $(check_PROGRAMS)
|
|
-endif
|
|
+#endif
|
|
|
|
## check-libntp.mf - automake fragment
|
|
## slightly adapted for deeper directory
|