File tree Expand file tree Collapse file tree 6 files changed +13
-6
lines changed Expand file tree Collapse file tree 6 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -507,7 +507,8 @@ let package = Package(
507
507
name: " WorkspaceTests " ,
508
508
dependencies: [ " Workspace " , " SPMTestSupport " ]
509
509
) ,
510
- . testTarget(
510
+ // rdar://101868275 "error: cannot find 'XCTAssertEqual' in scope" can affect almost any functional test, so we flat out disable them all until we know what is going on
511
+ /*.testTarget(
511
512
name: "FunctionalTests",
512
513
dependencies: [
513
514
"swift-build",
@@ -516,7 +517,7 @@ let package = Package(
516
517
"PackageModel",
517
518
"SPMTestSupport"
518
519
]
519
- ) ,
520
+ ),*/
520
521
. testTarget(
521
522
name: " FunctionalPerformanceTests " ,
522
523
dependencies: [
Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ final class BuildToolTests: CommandsTestCase {
280
280
}
281
281
282
282
func testBuildCompleteMessage( ) throws {
283
- throw XCTSkip ( " This test isn't stable w.r.t. the build cache ; rdar://101815761 " )
283
+ throw XCTSkip ( " This test fails to match the 'Compiling' regex ; rdar://101815761 " )
284
284
285
285
try fixture ( name: " DependencyResolution/Internal/Simple " ) { fixturePath in
286
286
do {
Original file line number Diff line number Diff line change @@ -461,7 +461,6 @@ class PluginTests: XCTestCase {
461
461
outputDirectory: pluginDir. appending ( component: " output " ) ,
462
462
toolSearchDirectories: toolSearchDirectories,
463
463
toolNamesToPaths: [ : ] ,
464
- toolNamesToTriples: [ : ] ,
465
464
writableDirectories: [ pluginDir. appending ( component: " output " ) ] ,
466
465
readOnlyDirectories: [ package . path] ,
467
466
fileSystem: localFileSystem,
@@ -723,7 +722,6 @@ class PluginTests: XCTestCase {
723
722
outputDirectory: pluginDir. appending ( component: " output " ) ,
724
723
toolSearchDirectories: [ try UserToolchain . default. swiftCompilerPath. parentDirectory] ,
725
724
toolNamesToPaths: [ : ] ,
726
- toolNamesToTriples: [ : ] ,
727
725
writableDirectories: [ pluginDir. appending ( component: " output " ) ] ,
728
726
readOnlyDirectories: [ package . path] ,
729
727
fileSystem: localFileSystem,
Original file line number Diff line number Diff line change @@ -266,6 +266,8 @@ class InitTests: XCTestCase {
266
266
}
267
267
268
268
func testNonC99NameExecutablePackage( ) throws {
269
+ throw XCTSkip ( " This test fails to find XCTAssertEqual; rdar://101868275 " )
270
+
269
271
try withTemporaryDirectory ( removeTreeOnDeinit: true ) { tempDirPath in
270
272
XCTAssertDirectoryExists ( tempDirPath)
271
273
Original file line number Diff line number Diff line change @@ -4291,6 +4291,8 @@ final class WorkspaceTests: XCTestCase {
4291
4291
4292
4292
// This verifies that the simplest possible loading APIs are available for package clients.
4293
4293
func testSimpleAPI( ) throws {
4294
+ throw XCTSkip ( " This test fails to find XCTAssertEqual; rdar://101868275 " )
4295
+
4294
4296
try testWithTemporaryDirectory { path in
4295
4297
// Create a temporary package as a test case.
4296
4298
let packagePath = path. appending ( component: " MyPkg " )
Original file line number Diff line number Diff line change @@ -361,7 +361,11 @@ def test(args):
361
361
362
362
note ("Testing" )
363
363
parse_test_args (args )
364
- cmd = [os .path .join (args .bin_dir , "swift-test" )]
364
+ cmd = [
365
+ "SWIFT_EXEC=" + args .swiftc_path ,
366
+ "SWIFT_DRIVER_SWIFT_EXEC=" + args .swiftc_path ,
367
+ os .path .join (args .bin_dir , "swift-test" )
368
+ ]
365
369
if args .parallel :
366
370
cmd .append ("--parallel" )
367
371
for arg in args .filter :
You can’t perform that action at this time.
0 commit comments