mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 12:32:12 +02:00
Drop backported 0001-bison-test-fixes-Do-not-use-obsolete-bison-construct.patch Test cases have been completely rearranged upstream, so ptest support is fully rewritten. Merge split bb/inc as there's no other user of the .inc [RB] As automake insists adding BUILD_SOURCES as a dependency to the "all" target, remove tests/ from the build unless ptests are enabled. This means native builds don't need a bison dependency. If ptests are enabled, we build-depend on flex-native and bison-native for the test suite, and tell it to use the flex-native binary instead of attempting to run the cross flex it just built. [RB] Move in-tree files from files/ to flex/ for consistency. [RB] (From OE-Core rev: 4fe048b7b32eb3d20a43171b83e8ad2037192d34) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
29 lines
893 B
Diff
29 lines
893 B
Diff
From b4aa18d939fc0c8825fa584dfcee1a7da61099cf Mon Sep 17 00:00:00 2001
|
|
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
Date: Thu, 10 Dec 2015 16:09:26 +0200
|
|
Subject: [PATCH] tests: add a target for building tests without running them
|
|
|
|
Upstream-Status: Inappropriate [oe specific]
|
|
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
---
|
|
tests/Makefile.am | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/tests/Makefile.am b/tests/Makefile.am
|
|
index 4ac3c17..0025cfe 100644
|
|
--- a/tests/Makefile.am
|
|
+++ b/tests/Makefile.am
|
|
@@ -21,6 +21,9 @@
|
|
|
|
TESTS = $(check_PROGRAMS) options.cn
|
|
|
|
+# This allows building tests without running them
|
|
+buildtests: $(TESTS)
|
|
+
|
|
# The script testwrapper.sh will run most tests as is. A couple tests
|
|
# in the suite end in .reject, .table and the like so that we can pass
|
|
# different arguments to the test runner. We list those extensions so
|
|
--
|
|
2.6.2
|
|
|