diff options
| author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2015-10-03 11:58:35 +0900 |
|---|---|---|
| committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2015-10-03 11:58:35 +0900 |
| commit | 6ff74ce8ee4a618060a5bc7dac408be909151518 (patch) | |
| tree | 9c6420088317fd9b65b0fae98179877a1dbd568e /runtest.rb | |
| parent | 867fb12908f2eedbb3ebbc28a971680b534a0b8b (diff) | |
| download | platform_build_kati-6ff74ce8ee4a618060a5bc7dac408be909151518.tar.gz platform_build_kati-6ff74ce8ee4a618060a5bc7dac408be909151518.tar.bz2 platform_build_kati-6ff74ce8ee4a618060a5bc7dac408be909151518.zip | |
[C++] Fix target specific variables with --gen_all_targets
--gen_all_targets started traversing the dependency graph from
random node. This may prevent target specific variables in
parents from being applied. With this patch, we always traverse
the graph from nodes without parents.
Diffstat (limited to 'runtest.rb')
| -rwxr-xr-x | runtest.rb | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -232,7 +232,10 @@ run_make_test = proc do |mk| if is_silent_test cmd += ' -s' end - cmd += " #{tc} 2>&1" + if !gen_all_targets || mk =~ /makecmdgoals/ + cmd += " #{tc}" + end + cmd += " 2>&1" res = IO.popen(cmd, 'r:binary', &:read) if via_ninja && File.exist?('build.ninja') && File.exists?('ninja.sh') cmd = './ninja.sh -j1 -v' |
