Index: test/toplevel-dir/gyptest-toplevel-dir.py |
diff --git a/test/toplevel-dir/gyptest-toplevel-dir.py b/test/toplevel-dir/gyptest-toplevel-dir.py |
index 4daa6b2c11936226080e581d536fe1cfd1b3f811..9e69512dd36cc15500a7dcc166e57b65fda0d0ad 100755 |
--- a/test/toplevel-dir/gyptest-toplevel-dir.py |
+++ b/test/toplevel-dir/gyptest-toplevel-dir.py |
@@ -20,7 +20,7 @@ test.run_gyp('main.gyp', '--toplevel-dir=..', chdir='src/sub1') |
toplevel_dir = 'src' |
-test.build('all', chdir=toplevel_dir) |
+test.build('sub1/main.gyp', test.ALL, chdir=toplevel_dir) |
test.built_file_must_exist('prog1', type=test.EXECUTABLE, chdir=toplevel_dir) |