Megatest

Check-in [a7ab704e37]
Login
Overview
Comment:Added another raw test to to simpletest
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | patch-point
Files: files | file ages | folders
SHA1: a7ab704e37970597f7ddfd98f8c9e175025fe062
User & Date: matt on 2012-04-24 21:59:15
Other Links: manifest | tags
Context
2012-04-27
11:18
Adding test for the broken config include check-in: feb0168376 user: mrwellan tags: trunk
2012-04-25
10:14
Create new branch named "v1.43" check-in: ea26754ba2 user: mrwellan tags: v1.43
2012-04-24
21:59
Added another raw test to to simpletest check-in: a7ab704e37 user: matt tags: trunk, patch-point
2012-04-23
15:19
Added fname to calls for get test path check-in: 8995de4ee1 user: mrwellan tags: trunk
Changes

Added tests/simplerun/tests/test1/step1.logpro version [22f12ee837].









1
2
3
4
5
6
7
8
+
+
+
+
+
+
+
+
;; You should have at least one expect:required. This ensures that your process ran
(expect:required in "LogFileBody" > 0 "Put description here" #/put pattern here/)

;; You may need ignores to suppress false error or warning hits from the later expects
;; NOTE: Order is important here!
(expect:ignore   in "LogFileBody"  < 99 "Ignore the word error in comments" #/^\/\/.*error/)
(expect:warning  in "LogFileBody"  = 0 "Any warning" #/warn/)
(expect:error    in "LogFileBody"  = 0 "Any error"  (list #/ERROR/ #/error/)) ;; but disallow any other errors

Added tests/simplerun/tests/test1/step1.sh version [67f9a133dc].




1
2
3
+
+
+
#!/usr/bin/env bash

# Run your step here

Added tests/simplerun/tests/test1/step2.logpro version [22f12ee837].









1
2
3
4
5
6
7
8
+
+
+
+
+
+
+
+
;; You should have at least one expect:required. This ensures that your process ran
(expect:required in "LogFileBody" > 0 "Put description here" #/put pattern here/)

;; You may need ignores to suppress false error or warning hits from the later expects
;; NOTE: Order is important here!
(expect:ignore   in "LogFileBody"  < 99 "Ignore the word error in comments" #/^\/\/.*error/)
(expect:warning  in "LogFileBody"  = 0 "Any warning" #/warn/)
(expect:error    in "LogFileBody"  = 0 "Any error"  (list #/ERROR/ #/error/)) ;; but disallow any other errors

Added tests/simplerun/tests/test1/step2.sh version [67f9a133dc].




1
2
3
+
+
+
#!/usr/bin/env bash

# Run your step here