Print this page
NEX-10070 Rebuild fails in zfs-tests/.../threadsappend
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
NEX-2835 nightly_test script should support running of test-runner tests (zfs in particular)
4206 history_003_pos relies on exact size of history log and entries
4207 history_008_pos depends on obsolete internal history log message
4208 Typo in zfs_main.c: "posxiuser"
4209 Populate zfstest with the remainder of the STF tests
Reviewed by: Sonu Pillai <sonu.pillai@delphix.com>
Reviewed by: Will Guyette <will.guyette@delphix.com>
Reviewed by: Eric Diven <eric.diven@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
| Split |
Close |
| Expand all |
| Collapse all |
--- old/usr/src/test/zfs-tests/tests/functional/threadsappend/Makefile
+++ new/usr/src/test/zfs-tests/tests/functional/threadsappend/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 (c) 2013 by Delphix. All rights reserved.
14 14 #
15 15
16 16 include $(SRC)/Makefile.master
17 17
18 18 ROOTOPTPKG = $(ROOT)/opt/zfs-tests
19 19 TESTDIR = $(ROOTOPTPKG)/tests/functional/threadsappend
20 20
|
↓ open down ↓ |
20 lines elided |
↑ open up ↑ |
21 21 PROG = threadsappend
22 22
23 23 SCRIPTS = cleanup \
24 24 setup \
25 25 threadsappend_001_pos
26 26
27 27 include $(SRC)/cmd/Makefile.cmd
28 28 include $(SRC)/test/Makefile.com
29 29
30 30 ROOTOPTPKG = $(ROOT)/opt/zfs-tests
31 +ROOTBIN = $(ROOTOPTPKG)/bin
31 32
32 33 OBJS = $(PROG:%=%.o)
33 34 SRCS = $(OBJS:%.o=%.c)
34 35
35 -CMDS = $(PROG:%=$(TESTDIR)/%) $(SCRIPTS:%=$(TESTDIR)/%)
36 +CMDS = $(PROG:%=$(ROOTBIN)/%) $(SCRIPTS:%=$(TESTDIR)/%)
36 37 $(CMDS) := FILEMODE = 0555
37 38
38 39 CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
39 40
40 41 all: $(PROG)
41 42
42 43 $(PROG): $(OBJS)
43 44 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
44 45 $(POST_PROCESS)
45 46
46 47 %.o: ../%.c
47 48 $(COMPILE.c) $<
48 49
49 50 install: all $(CMDS)
50 51
51 52 lint: lint_SRCS
52 53
53 54 clobber: clean
54 55 -$(RM) $(PROG)
55 56
56 57 clean:
57 58 -$(RM) $(OBJS)
58 59
|
↓ open down ↓ |
13 lines elided |
↑ open up ↑ |
59 60 $(CMDS): $(TESTDIR) $(PROG)
60 61
61 62 $(TESTDIR):
62 63 $(INS.dir)
63 64
64 65 $(TESTDIR)/%: %
65 66 $(INS.file)
66 67
67 68 $(TESTDIR)/%: %.ksh
68 69 $(INS.rename)
70 +
71 +$(ROOTBIN)/%: %
72 + $(INS.file)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX