Files
swift-mirror/test/Driver/verify-debug-info.swift
Jason Mittertreiner d8e4a8fb5e Fix 2 Driver tests on Windows (#20172)
Most of the driver tests currently don't work on Windows, but these two were relatively fixable.
- Moved the dsym checks to actions-dsym and ignore that on windows
- alternatively match the full path of dsymutil, which on Windows is
  given as "C:\....\dsymutil.exe" verify-debug-info ...
2018-11-12 15:53:36 -08:00

9 lines
700 B
Swift

// RUN: %swiftc_driver -driver-print-jobs -target x86_64-apple-macosx10.10 -g -verify-debug-info -o verify-debug-info %s 2>&1 | %FileCheck %s -check-prefix=VERIFY-DEBUG-INFO
// RUN: %swiftc_driver -driver-print-jobs -target x86_64-apple-macosx10.10 -gdwarf-types -verify-debug-info %s 2>&1 | %FileCheck %s -check-prefix=VERIFY-DEBUG-INFO
// RUN: %swiftc_driver -driver-print-jobs -target x86_64-apple-macosx10.10 -gline-tables-only -verify-debug-info %s 2>&1 | %FileCheck %s -check-prefix=VERIFY-DEBUG-INFO
// VERIFY-DEBUG-INFO: dsymutil{{(\.exe)?}}{{"?}} verify-debug-info -o verify-debug-info.dSYM
// VERIFY-DEBUG-INFO: dwarfdump --verify --debug-info --eh-frame --quiet verify-debug-info.dSYM