From 5a2ea3e63ef2d34c5819a1c2046308e254c13dbc Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 1 Aug 2022 20:36:50 +0300 Subject: Enable bdep-new tests which previously failed with 'multiple rules matching updating' error --- tests/new.testscript | 46 ++++++++++++++++++++++------------------------ 1 file changed, 22 insertions(+), 24 deletions(-) (limited to 'tests') diff --git a/tests/new.testscript b/tests/new.testscript index f9d1b99..c933f7e 100644 --- a/tests/new.testscript +++ b/tests/new.testscript @@ -210,10 +210,6 @@ status += -d prj EOE } - # @@ TMP Disable until the 'multiple rules matching updating' error is fixed - # in build2. - # - #\ : exe-unit-tests-c : { @@ -230,13 +226,17 @@ status += -d prj cat <=foo/foo/bar.test.c; #include + + int main () + { + return 0; + } EOI $build foo/ $config_cxx $config_c 2>>~%EOE% - %(c\+\+|c|ld|ar) .+%{4} + %(c\+\+|c|ld|ar) .+%{8} EOE } - #\ : lib-unit-tests : @@ -250,10 +250,6 @@ status += -d prj EOE } - # @@ TMP Disable until the 'multiple rules matching updating' error is fixed - # in build2. - # - #\ : lib-unit-tests-c : { @@ -270,13 +266,17 @@ status += -d prj cat <=libfoo/libfoo/bar.test.c; #include + + int main () + { + return 0; + } EOI $build libfoo/ $config_cxx $config_c 2>>~%EOE% - %(version\.in|c\+\+|c|ar|ld) .+%{11} + %(version\.in|c\+\+|c|ar|ld) .+%{15} EOE } - #\ : exe-alt-naming : @@ -451,10 +451,6 @@ status += -d prj EOE } - # @@ TMP Disable until the 'multiple rules matching updating' error is fixed - # in build2. - # - #\ : exe-c-unit-tests-c++ : { @@ -471,13 +467,16 @@ status += -d prj cat <=foo/foo/bar.test.cxx; #include + + int main () + { + } EOI $build foo/ $config_c $config_cxx 2>>~%EOE% - %(c|c\+\+|ld|ar) .+%{4} + %(c|c\+\+|ld|ar) .+%{8} EOE } - #\ : lib-c : @@ -639,10 +638,6 @@ status += -d prj EOE } - # @@ TMP Disable until the 'multiple rules matching updating' error is fixed - # in build2. - # - #\ : lib-c-unit-tests-c++ : { @@ -659,13 +654,16 @@ status += -d prj cat <=libfoo/libfoo/bar.test.cxx; #include + + int main () + { + } EOI $build libfoo/ $config_c $config_cxx 2>>~%EOE% - %(version\.in|c|c\+\+|ar|ld) .+%{11} + %(version\.in|c|c\+\+|ar|ld) .+%{15} EOE } - #\ : lib-c-binless-unit-tests : -- cgit v1.1