aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-03-08 18:14:51 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-03-08 18:14:51 +0200
commit31ac12a4e39fa701b1bd95e17afea4f739bf9506 (patch)
treeb30622a1ef9820814b83486718ae763653f7cb17
parent7e34f1a99bd6ac9e604ee1c85ec6224928ba81f7 (diff)
Filter out *.test.cxx in bootstrap.gmake
-rw-r--r--bootstrap.gmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/bootstrap.gmake b/bootstrap.gmake
index d20137c..2aac8fc 100644
--- a/bootstrap.gmake
+++ b/bootstrap.gmake
@@ -146,6 +146,11 @@ build2_src := $(wildcard $(src_root)/build2/*.cxx)
build2_src += $(foreach d,$(sub_dirs),$(wildcard $(src_root)/build2/$d/*.cxx))
libbutl_src := $(wildcard $(libbutl)/libbutl/*.cxx)
+# Filter out *.test.cxx sources.
+#
+build2_src := $(filter-out %.test.cxx,$(build2_src))
+libbutl_src := $(filter-out %.test.cxx,$(libbutl_src))
+
# Note that we use the .b.o object file extension to avoid clashing with the
# build2 builds.
#