Fix Travis grep script to use PCRE to actually match things (#47065)

Several of the greps were missing the `-P` switch which caused them to 
fail to match things. The EOL grep also wasn't working right so I 
replaced it with the one I added to TGMC.
This commit is contained in:
spookydonut
2019-10-19 10:21:05 -07:00
committed by Tad Hardesty
parent 9aac0ab34e
commit 4e8ff18b07
92 changed files with 136 additions and 210 deletions
+1 -1
View File
@@ -9,4 +9,4 @@
if(dupe_type && !ispath(dupe_type))
bad_dts += t
if(length(bad_dms) || length(bad_dts))
Fail("Components with invalid dupe modes: ([bad_dms.Join(",")]) ||| Components with invalid dupe types: ([bad_dts.Join(",")])")
Fail("Components with invalid dupe modes: ([bad_dms.Join(",")]) ||| Components with invalid dupe types: ([bad_dts.Join(",")])")
+1 -1
View File
@@ -4,4 +4,4 @@
if(ss.flags & SS_NO_INIT)
continue
if(!ss.initialized)
Fail("[ss]([ss.type]) is a subsystem meant to initialize but doesn't get set as initialized.")
Fail("[ss]([ss.type]) is a subsystem meant to initialize but doesn't get set as initialized.")
+1 -1
View File
@@ -1,3 +1,3 @@
/datum/unit_test/timer_sanity/Run()
if(SStimer.bucket_count < 0)
Fail("SStimer is going into negative bucket count from something")
Fail("SStimer is going into negative bucket count from something")