Print this page
10076 make usr/src/test smatch clean
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/test/libc-tests/tests/regex/Makefile
+++ new/usr/src/test/libc-tests/tests/regex/Makefile
1 1 #
2 2 # This file and its contents are supplied under the terms of the
3 3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 4 # You may only use this file in accordance with the terms of version
5 5 # 1.0 of the CDDL.
6 6 #
7 7 # A full copy of the text of the CDDL should have accompanied this
8 8 # source. A copy of the CDDL is also available via the Internet at
9 9 # http://www.illumos.org/license/CDDL.
10 10 #
11 11
12 12 #
13 13 # Copyright 2018 Nexenta Systems, Inc.
14 14 #
15 15
16 16 include $(SRC)/Makefile.master
17 17
18 18 ROOTOPTPKG= $(ROOT)/opt/libc-tests
19 19 TESTDIR= $(ROOTOPTPKG)/tests/regex
20 20 DATADIR= $(TESTDIR)/data
21 21
22 22 PROG= testregex
23 23
24 24 SHPROG= regex_test
25 25
26 26 DATA= basic.dat basic.out \
27 27 categorize.dat categorize.out \
28 28 forcedassoc.dat forcedassoc.out \
29 29 leftassoc.dat leftassoc.out \
↓ open down ↓ |
29 lines elided |
↑ open up ↑ |
30 30 nullsubexpr.dat nullsubexpr.out \
31 31 repetition.dat repetition.out \
32 32 rightassoc.dat rightassoc.out
33 33
34 34 include $(SRC)/cmd/Makefile.cmd
35 35
36 36 CERRWARN += -_gcc=-Wno-parentheses
37 37 CERRWARN += -_gcc=-Wno-uninitialized
38 38 CERRWARN += -_gcc=-Wno-clobbered
39 39
40 +# needs work
41 +SMOFF += all_func_returns,testing_index_after_use
42 +
40 43 CMDS= $(PROG:%=$(TESTDIR)/%) $(SHPROG:%=$(TESTDIR)/%)
41 44 $(CMDS):= FILEMODE=0555
42 45 TESTDATA= $(DATA:%=$(DATADIR)/%)
43 46 $(TESTDATA):= FILEMODE=0444
44 47
45 48 .KEEP_STATE:
46 49
47 50 all: $(PROG)
48 51
49 52 $(CMDS): $(TESTDIR)
50 53
51 54 $(TESTDATA): $(DATADIR)
52 55
53 56 install: all $(CMDS) $(TESTDATA)
54 57
55 58 clean lint:
56 59
57 60 $(TESTDIR) $(DATADIR):
58 61 $(INS.dir)
59 62
60 63 $(TESTDIR)/%: %
61 64 $(INS.file)
62 65
63 66 $(TESTDIR)/%: %.sh
64 67 $(INS.rename)
65 68
66 69 $(DATADIR)/%: data/%
67 70 $(INS.file)
68 71
69 72 include $(SRC)/cmd/Makefile.targ
↓ open down ↓ |
20 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX