blob: 0a24d7461036db495d50176b1c2aff8df3750097 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
TOP=../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
test_pe = test-package-environment
test_lib = containers
T18125:
$(GHC_PKG) latest base > $(test_pe)
$(GHC_PKG) latest $(test_lib) >> $(test_pe)
"$(TEST_HC)" $(TEST_HC_OPTS) -Wunused-packages -package-env $(test_pe) T18125.hs > out 2>&1
C=`cat out | grep "$(test_lib)" -c` ; \
if [ $$C != "1" ]; then false; fi
|