-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add two new tests, one currently hangs.
- Loading branch information
Showing
2 changed files
with
100 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
arguments .. | ||
file input-1 empty | ||
file input-2 empty | ||
file input-3 empty | ||
file input-4 empty | ||
file build.fninja <> | ||
common_sources := | ||
input-2 | ||
input-3 | ||
sources := | ||
input-1 | ||
$common_sources | ||
input-4 | ||
|
||
rule a | ||
command = a $in $out | ||
flags = --verbose | ||
|
||
build output: a $sources | ||
end-of-inline-data | ||
file build/build.ninja {} <> | ||
# This file is automatically created by fast-ninja from ../build.fninja | ||
# Do not edit. | ||
|
||
build_directory = . | ||
source_directory = .. | ||
sources = ../input ../input-2 output | ||
top_build_directory = . | ||
top_source_directory = .. | ||
version = 2 | ||
|
||
rule a | ||
command = a $in $out | ||
flags = --verbose | ||
|
||
rule fast-ninja | ||
command = fast-ninja .. | ||
generator = 1 | ||
|
||
build output : a ../input | ||
|
||
build final : a ../input ../input-2 output | ||
|
||
build build.ninja : fast-ninja ../build.fninja | ||
end-of-inline-data |
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,55 @@ | ||
arguments .. | ||
file input empty | ||
file build.fninja <> | ||
built_files := | ||
output | ||
sub/output | ||
|
||
rule a | ||
command = a $in $out | ||
flags = --verbose | ||
|
||
build output: a input | ||
|
||
default $built_files | ||
|
||
subninja sub/build.fninja | ||
end-of-inline-data | ||
file sub/build.fninja <> | ||
build output: a ../input | ||
end-of-inline-data | ||
file build/build.ninja {} <> | ||
# This file is automatically created by fast-ninja from ../build.fninja | ||
# Do not edit. | ||
|
||
build_directory = . | ||
built_files = output sub/output | ||
source_directory = .. | ||
top_build_directory = . | ||
top_source_directory = .. | ||
|
||
rule a | ||
command = a $in $out | ||
flags = --verbose | ||
|
||
rule fast-ninja | ||
command = fast-ninja .. | ||
generator = 1 | ||
|
||
build output : a ../input | ||
|
||
build build.ninja sub/build.ninja : fast-ninja ../build.fninja ../sub/build.fninja | ||
|
||
default output sub/output | ||
|
||
subninja sub/build.ninja | ||
end-of-inline-data | ||
file build/sub/build.ninja {} <> | ||
# This file is automatically created by fast-ninja from ../sub/build.fninja | ||
# Do not edit. | ||
|
||
build_directory = sub | ||
source_directory = ../sub | ||
|
||
build sub/output : a ../input | ||
end-of-inline-data |