mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
12f8d9c6c9
Default to use new swift-driver to run lit tests as legacy swift driver is deprecated for a long time. The lit tests for legacy drivers are also disable when running new swift-driver. Tests that relies on legacy swift driver (for example, tests merge module) can be enabled on conditions `legacy_swift_driver`. Fix and split up some existing tests that relies on legacy driver.
7 lines
286 B
Swift
7 lines
286 B
Swift
// Emit the explicit module.
|
|
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-emit-pcm -g -module-name Macro -o %t/Macro.pcm -file-compilation-dir /compdir %S/Inputs/module.modulemap
|
|
// RUN: %llvm-dwarfdump %t/Macro.pcm | %FileCheck %s
|
|
|
|
// CHECK: DW_AT_comp_dir ("{{/|\\\\}}compdir")
|