File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 6
6
RUN: rm -rf %t.dir
7
7
RUN: mkdir -p %t.dir/Project
8
8
RUN: %{swift-package} --package-path %t.dir/Project init --type executable
9
+ RUN: rm -rf %t.dir/Project/Sources/Project/*
10
+ RUN: echo "print(\"Hello, World!\")" >%t.dir/Project/Sources/Project/main.swift
9
11
RUN: %{swift-build} --package-path %t.dir/Project 2>&1 | tee %t.build-log
10
12
```
11
13
@@ -29,7 +31,7 @@ RUN: %{FileCheck} --check-prefix CHECK-TOOL-OUTPUT --input-file %t.out %s
29
31
```
30
32
31
33
```
32
- CHECK-TOOL-OUTPUT: Hello, world !
34
+ CHECK-TOOL-OUTPUT: Hello, World !
33
35
```
34
36
35
37
## Check there were no compile errors or warnings.
Original file line number Diff line number Diff line change 6
6
RUN: rm -rf %t.dir
7
7
RUN: mkdir -p %t.dir/secho
8
8
RUN: %{swift-package} --package-path %t.dir/secho init --type executable
9
+ RUN: rm -rf %t.dir/secho/Sources/secho/*
9
10
RUN: echo "import Foundation; print(CommandLine.arguments.dropFirst().joined(separator: \" \"))" >%t.dir/secho/Sources/secho/main.swift
10
11
RUN: %{swift-run} --package-path %t.dir/secho secho 1 "two" 2>&1 | tee %t.run-log
11
12
```
You can’t perform that action at this time.
0 commit comments