Skip to content

Commit 78c7eec

Browse files
author
David Ungar
committed
off-by-default & fix tests
1 parent 69d1060 commit 78c7eec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/Driver/advanced_output_file_map.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
// BINDINGS-ENA: # "x86_64-apple-macosx10.9" - "ld{{(.exe)?}}", inputs: ["./obj/advanced_output_file_map.o", "./obj/main.o", "./obj/lib.o", "./OutputFileMap.swiftmodule"], output: {image: "./advanced_output_file_map.out"}
8383
// BINDINGS-ENA: # "x86_64-apple-macosx10.9" - "dsymutil{{(\.exe)?}}", inputs: ["./advanced_output_file_map.out"], output: {dSYM: "./advanced_output_file_map.out.dSYM"}
8484

85-
// Defaulting to: -disable-only-one-dependency-file
85+
// Defaulting to: -enable-only-one-dependency-file
8686

8787
// RUN: %swiftc_driver -driver-print-output-file-map -target x86_64-apple-macosx10.9 -emit-executable -emit-module -serialize-diagnostics %/s %/S/Inputs/main.swift %/S/Inputs/lib.swift -g -o ./advanced_output_file_map.out -emit-module-path ./OutputFileMap.swiftmodule -module-name OutputFileMap -output-file-map %t/ofm.json 2>&1 | %FileCheck %/s -check-prefix=DUMPOFM-DIS
8888

@@ -91,5 +91,5 @@
9191
// RUN: %swiftc_driver -driver-print-bindings -target x86_64-apple-macosx10.9 -emit-executable -emit-module -serialize-diagnostics -emit-dependencies %/s %/S/Inputs/main.swift %/S/Inputs/lib.swift -g -o ./advanced_output_file_map.out -emit-module-path ./OutputFileMap.swiftmodule -module-name OutputFileMap -output-file-map %t/ofm.json 2>&1 | %FileCheck %/s -check-prefix=BINDINGS-DIS
9292
// Should be no dummy files:
9393
// RUN: test ! -e %t/d/advanced_output_file_map.d
94-
// RUN: test ! -e %t/d/main.d
95-
// RUN: test ! -e %t/d/lib.d
94+
// RUN: test -e %t/d/main.d -a ! -s %t/d/main.d
95+
// RUN: test -e %t/d/lib.d -a ! -s %t/d/lib.d

0 commit comments

Comments
 (0)