tools/llvm: Do not build with symbols
[minix3.git] / tests / usr.bin / make / d_modorder.mk
blob3e133f40fbd9ed46299227fc9e247b3f0d49f61f
1 # $NetBSD: d_modorder.mk,v 1.1 2012/03/17 16:33:14 jruoho Exp $
3 LIST= one two three four five six seven eight nine ten
4 LISTX= ${LIST:Ox}
5 LISTSX:= ${LIST:Ox}
6 TEST_RESULT= && echo Ok || echo Failed
8 # unit-tests have to produce the same results on each run
9 # so we cannot actually include :Ox output.
10 all:
11 @echo "LIST = ${LIST}"
12 @echo "LIST:O = ${LIST:O}"
13 # Note that 1 in every 10! trials two independently generated
14 # randomized orderings will be the same. The test framework doesn't
15 # support checking probabilistic output, so we accept that the test
16 # will incorrectly fail with probability 2.8E-7.
17 @echo "LIST:Ox = `test '${LIST:Ox}' != '${LIST:Ox}' ${TEST_RESULT}`"
18 @echo "LIST:O:Ox = `test '${LIST:O:Ox}' != '${LIST:O:Ox}' ${TEST_RESULT}`"
19 @echo "LISTX = `test '${LISTX}' != '${LISTX}' ${TEST_RESULT}`"
20 @echo "LISTSX = `test '${LISTSX}' = '${LISTSX}' ${TEST_RESULT}`"
21 @echo "BADMOD 1 = ${LIST:OX}"
22 @echo "BADMOD 2 = ${LIST:OxXX}"