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