Skip to content

Commit 8afd7f4

Browse files
committed
fixup! [build-script] Introduce ProductBuilder. Transform Ninja to use it.
1 parent bcd2042 commit 8afd7f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/swift_build_support/tests/products/test_ninja.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def test_ninja_bin_path(self):
8383

8484
self.assertEqual(ninja_build.ninja_bin_path,
8585
os.path.join(
86-
self.workspace.build_dir(self.host.name, 'ninja'),
86+
self.workspace.build_dir('build', 'ninja'),
8787
'ninja'))
8888

8989
def test_do_build(self):
@@ -122,6 +122,6 @@ def test_do_build(self):
122122
+ popd
123123
""".format(
124124
source_dir=self.workspace.source_dir('ninja'),
125-
build_dir=self.workspace.build_dir(self.host.name, 'ninja'),
125+
build_dir=self.workspace.build_dir('build', 'ninja'),
126126
expect_env=expect_env,
127127
python=sys.executable))

0 commit comments

Comments
 (0)