summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-02-10 16:05:22 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-02-10 16:05:37 -0600
commit05bb5df2c520b41aba76fcf05097fd19d9550626 (patch)
tree0b036cb6a78b971b0908e8bfb03f4e8de8f662ce /Makefile
parentda39d1443c03da64fe64a1862cdc36246e19d6aa (diff)
add slowcheck target and make build a pre-req of check
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 04c4c8ecf59a..815959f798c2 100644
--- a/Makefile
+++ b/Makefile
@@ -438,13 +438,21 @@ findunusedcode:
| grep -v ^salhelper:: \
> unusedcode.easy
-check: subsequentcheck
+check: subsequentcheck_after_build
+
+subsequentcheck_after_build: build dev-install-link
+ @cd smoketestoo_native && unset MAKEFLAGS && \
+ $(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) --all -- -P$(GMAKE_PARALLELISM)
+ $(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) -f post.Makefile subsequentcheck
subsequentcheck: smoketestoo_native
$(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) -f post.Makefile subsequentcheck
debugrun:
- $(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) -f post.Makefile subsequentcheck
+ $(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) -f post.Makefile debugrun
+
+slowcheck:
+ $(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) -f post.Makefile slowcheck
endif # not clean or distclean