xref: /freebsd/contrib/bmake/unit-tests/meta-cmd-cmp.exp (revision fe75646a0234a261c0013bf1840fdac4acaf0cec)
1one:
2Building .meta-cmd-cmp.cmp
3Building .meta-cmd-cmp.nocmp
4Building .meta-cmd-cmp.cmp2
5This line not compared FLAGS=
6Skipping meta for .END: .SPECIAL
7two:
8`.meta-cmd-cmp.cmp' is up to date.
9`.meta-cmd-cmp.nocmp' is up to date.
10.meta-cmd-cmp.cmp2.meta: 3: cannot compare command using .OODATE
11`.meta-cmd-cmp.cmp2' is up to date.
12Skipping meta for .END: .SPECIAL
13change1:
14.meta-cmd-cmp.cmp.meta: 2: a build command has changed
15@echo FLAGS= > .meta-cmd-cmp.cmp
16vs
17@echo FLAGS=changed > .meta-cmd-cmp.cmp
18Building .meta-cmd-cmp.cmp
19`.meta-cmd-cmp.nocmp' is up to date.
20.meta-cmd-cmp.cmp2.meta: 3: cannot compare command using .OODATE
21`.meta-cmd-cmp.cmp2' is up to date.
22Skipping meta for .END: .SPECIAL
23change2:
24.meta-cmd-cmp.cmp.meta: 2: a build command has changed
25@echo FLAGS=changed > .meta-cmd-cmp.cmp
26vs
27@echo FLAGS= > .meta-cmd-cmp.cmp
28Building .meta-cmd-cmp.cmp
29`.meta-cmd-cmp.nocmp' is up to date.
30.meta-cmd-cmp.cmp2.meta: 2: a build command has changed
31@echo FLAGS2= > .meta-cmd-cmp.cmp2
32vs
33@echo FLAGS2=changed > .meta-cmd-cmp.cmp2
34Building .meta-cmd-cmp.cmp2
35This line not compared FLAGS=
36Skipping meta for .END: .SPECIAL
37filter0:
38Building .meta-cmd-cmp.filter
39Skipping meta for .END: .SPECIAL
40filter1:
41.meta-cmd-cmp.filter.meta: 2: a build command has changed
42@echo ccache cc -c foo.c > .meta-cmd-cmp.filter
43vs
44@echo  cc -c foo.c > .meta-cmd-cmp.filter
45Building .meta-cmd-cmp.filter
46Skipping meta for .END: .SPECIAL
47filter2:
48`.meta-cmd-cmp.filter' is up to date.
49Skipping meta for .END: .SPECIAL
50filter3:
51`.meta-cmd-cmp.filter' is up to date.
52Skipping meta for .END: .SPECIAL
53exit status 0
54