aboutsummaryrefslogtreecommitdiffstats
path: root/runtest.rb
diff options
context:
space:
mode:
authorShinichiro Hamaji <shinichiro.hamaji@gmail.com>2016-04-27 18:34:11 +0900
committerShinichiro Hamaji <shinichiro.hamaji@gmail.com>2016-04-27 18:34:11 +0900
commit3009771a0c2f2734ea820a0361b0b87ec5b7e7bb (patch)
treea02c58246ab68730db4c160ca67ced63b28c7e3c /runtest.rb
parent2941ea07651737a6151b19db45c010d2083dfa1d (diff)
parentbfae8109797e2d90605ac28247259ecd6e0136fe (diff)
downloadandroid_build_kati-3009771a0c2f2734ea820a0361b0b87ec5b7e7bb.tar.gz
android_build_kati-3009771a0c2f2734ea820a0361b0b87ec5b7e7bb.tar.bz2
android_build_kati-3009771a0c2f2734ea820a0361b0b87ec5b7e7bb.zip
Merge pull request #66 from stefanb2/topic-issue-65
Fix issues 60, 63, 65
Diffstat (limited to 'runtest.rb')
-rwxr-xr-xruntest.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtest.rb b/runtest.rb
index 330c8b1..a703ab5 100755
--- a/runtest.rb
+++ b/runtest.rb
@@ -16,6 +16,10 @@
require 'fileutils'
+# suppress GNU make jobserver magic when calling "make"
+ENV.delete('MAKEFLAGS')
+ENV.delete('MAKELEVEL')
+
while true
if ARGV[0] == '-s'
test_serialization = true
@@ -129,6 +133,7 @@ def normalize_make_log(expected, mk, via_ninja)
' commands commence ')
expected.gsub!(' (did you mean TAB instead of 8 spaces?)', '')
expected.gsub!('Extraneous text after', 'extraneous text after')
+ expected.gsub!('missing rule before recipe.', 'missing rule before commands.')
# Not sure if this is useful.
expected.gsub!(/\s+Stop\.$/, '')
# GNU make 4.0 has this output.