aboutsummaryrefslogtreecommitdiffstats
path: root/runtest.rb
diff options
context:
space:
mode:
authorShinichiro Hamaji <shinichiro.hamaji@gmail.com>2016-04-27 18:35:57 +0900
committerShinichiro Hamaji <shinichiro.hamaji@gmail.com>2016-04-27 18:35:57 +0900
commitdc258cb8ea5a528574b96474d89b3a9900e5ceae (patch)
treecf8be6962e47074ffdaee74b4c44f8e0296ab4b0 /runtest.rb
parent3009771a0c2f2734ea820a0361b0b87ec5b7e7bb (diff)
downloadandroid_build_kati-dc258cb8ea5a528574b96474d89b3a9900e5ceae.tar.gz
android_build_kati-dc258cb8ea5a528574b96474d89b3a9900e5ceae.tar.bz2
android_build_kati-dc258cb8ea5a528574b96474d89b3a9900e5ceae.zip
Clean up normalization in runtest.rb a bit
Diffstat (limited to 'runtest.rb')
-rwxr-xr-xruntest.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/runtest.rb b/runtest.rb
index a703ab5..2bb70ee 100755
--- a/runtest.rb
+++ b/runtest.rb
@@ -127,13 +127,11 @@ def normalize_make_log(expected, mk, via_ninja)
# Normalizations for old/new GNU make.
expected.gsub!(/[`'"]/, '"')
- expected.gsub!(/ (?:commands|recipe) for target /,
- ' commands for target ')
- expected.gsub!(/ (?:commands|recipe) commences /,
- ' commands commence ')
+ expected.gsub!(' recipe for target ', ' commands for target ')
+ expected.gsub!(' recipe commences ', ' commands commence ')
+ expected.gsub!('missing rule before recipe.', 'missing rule before commands.')
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.