You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tryawait tester.checkBuild(runDestination:.macOS, buildRequest: buildRequest, persistent:true){ results in
93
93
results.checkNoDiagnostics()
94
94
results.checkTask(.matchTargetName("TargetFoo"),.matchRuleType("CompileC")){ task in
95
-
results.checkBacktrace(task,["<category='ruleNeverBuilt' description=''Compile foo.c (x86_64)' had never run'>"])
95
+
results.checkBacktrace(task,["<category='ruleNeverBuilt' description=''Compile foo.c (\(results.runDestinationTargetArchitecture))' had never run'>"])
96
96
}
97
97
results.checkTask(.matchTargetName("TargetBar"),.matchRuleType("Ld")){ task in
98
-
results.checkBacktrace(task,["<category='ruleNeverBuilt' description=''Link TargetBar (x86_64)' had never run'>"])
98
+
results.checkBacktrace(task,["<category='ruleNeverBuilt' description=''Link TargetBar (\(results.runDestinationTargetArchitecture))' had never run'>"])
"<category='ruleSignatureChanged' description='arguments, environment, or working directory of 'Write 7187679823f38a2a940e0043cdf9d637-common-args.resp (x86_64)' changed'>"
141
+
"<category='ruleInputRebuilt' description='an input of 'Compile foo.c (\(results.runDestinationTargetArchitecture))' changed'>",
"<category='ruleSignatureChanged' description='arguments, environment, or working directory of 'Write 7187679823f38a2a940e0043cdf9d637-common-args.resp (\(results.runDestinationTargetArchitecture))' changed'>"
144
144
])
145
145
}
146
146
if tester.fs.fileSystemMode ==.checksumOnly {
147
147
results.checkTask(.matchTargetName("TargetBar"),.matchRuleType("CompileC")){ task in
148
148
results.checkBacktrace(task,[
149
-
"<category='ruleSignatureChanged' description='signature of 'Compile bar.c (x86_64)' changed'>"
149
+
"<category='ruleSignatureChanged' description='signature of 'Compile bar.c (\(results.runDestinationTargetArchitecture))' changed'>"
150
150
])
151
151
}
152
152
// Ensure "Ld" is not executed, because contents of "bar.o" are unchanged
153
153
results.checkNoTask()
154
154
}else{
155
155
results.checkTask(.matchTargetName("TargetBar"),.matchRuleType("Ld")){ task in
156
156
results.checkBacktrace(task,[
157
-
"<category='ruleInputRebuilt' description='an input of 'Link TargetBar (x86_64)' changed'>",
"<category='ruleSignatureChanged' description='arguments, environment, or working directory of 'Write 7187679823f38a2a940e0043cdf9d637-common-args.resp (x86_64)' changed'>"
157
+
"<category='ruleInputRebuilt' description='an input of 'Link TargetBar (\(results.runDestinationTargetArchitecture))' changed'>",
"<category='ruleSignatureChanged' description='arguments, environment, or working directory of 'Write 7187679823f38a2a940e0043cdf9d637-common-args.resp (\(results.runDestinationTargetArchitecture))' changed'>"
results.checkTask(.matchTargetName("TargetBar"),.matchRuleType("Ld")){ task in
562
562
results.checkTextualBacktrace(task,"""
563
-
#0: an input of 'Link TargetBar (x86_64)' changed
563
+
#0: an input of 'Link TargetBar (\(results.runDestinationTargetArchitecture))' changed
564
564
#1: the task producing file '\(SRCROOT.str)/build/EagerLinkingTBDs/Debug/TargetFoo.framework/Versions/A/TargetFoo.tbd' ran
565
565
#2: an input of 'Generate TBD TargetFoo' changed
566
566
#3: the task producing file '\(SRCROOT.str)/build/Debug/TargetFoo.framework/Versions/A/TargetFoo' ran
567
-
#4: an input of 'Link TargetFoo (x86_64)' changed
568
-
#5: the task producing file '\(SRCROOT.str)/build/aProject.build/Debug/TargetFoo.build/Objects-normal/x86_64/foo.o' ran
569
-
#6: an input of 'Compile foo.c (x86_64)' changed
567
+
#4: an input of 'Link TargetFoo (\(results.runDestinationTargetArchitecture))' changed
568
+
#5: the task producing file '\(SRCROOT.str)/build/aProject.build/Debug/TargetFoo.build/Objects-normal/\(results.runDestinationTargetArchitecture)/foo.o' ran
569
+
#6: an input of 'Compile foo.c (\(results.runDestinationTargetArchitecture))' changed
try results.checkTask(.matchRuleType("Assemble"),.matchRuleItemBasename("File.m"),.matchRuleItem("normal"),.matchRuleItem(results.runDestinationTargetArchitecture)){ task in
try results.checkTask(.matchRuleType("Assemble"),.matchRuleItemBasename("File.m"),.matchRuleItem("normal"),.matchRuleItem(results.runDestinationTargetArchitecture)){ task in
0 commit comments