diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-04-13 17:36:30 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-04-27 10:04:55 -0400 |
commit | 2c00d9048873f3d6d7e188dd1ef7f670a83a5c94 (patch) | |
tree | 05d886bd40bf13f90ddf7f9e9b9b77cc203778fa /bindisttest | |
parent | 75bf1337e6623286b3cbf1a1c42dd083c50359d3 (diff) | |
download | haskell-2c00d9048873f3d6d7e188dd1ef7f670a83a5c94.tar.gz |
ci: Add test to check that release jobs have profiled libs
Diffstat (limited to 'bindisttest')
-rw-r--r-- | bindisttest/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bindisttest/Makefile b/bindisttest/Makefile index e49172c77d..3df55a9167 100644 --- a/bindisttest/Makefile +++ b/bindisttest/Makefile @@ -50,6 +50,12 @@ endif $(CONTEXT_DIFF) output expected_output # Without --no-user-package-db we might pick up random packages from ~/.ghc $(BIN_DIST_INST_DIR)/bin/ghc-pkg check --no-user-package-db +ifeq "$(TEST_PROF)" "yes" + $(BIN_DIST_INST_DIR)/bin/ghc --make -prof HelloWorld + ./HelloWorld > output + $(CONTEXT_DIFF) output expected_output +endif + clean distclean: "$(RM)" $(RM_OPTS_REC) $(BIN_DIST_INST_SUBDIR) |