Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
fix: parsing error when combining single line directive with multi-li…
…ne directive in use rule statements (#1662) * fix: parsing error when combining single line directive with multi-line directive in use rule statements * set number of cores to be high enough for test case result to be correct * skip test on win
- Loading branch information
1 parent
bbed20f
commit 26e57d6
Showing
4 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
rule all: | ||
input: | ||
"test2.out", | ||
|
||
|
||
rule a: | ||
output: | ||
"test.out", | ||
threads: 4 | ||
shell: | ||
""" | ||
echo {threads} > {output} | ||
""" | ||
|
||
|
||
use rule a as b with: | ||
threads: 5 | ||
output: | ||
"test2.out", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters