Fossil SCM

Update test cases to work with or without the USE_TCL_EVALOBJV compile-time option enabled.

mistachkin 2011-10-26 15:07 UTC tcl-integration
Commit 7d43a362d036fccc22789db3585829178ad5e30a
1 file changed +5 -2
--- test/th1-tcl.test
+++ test/th1-tcl.test
@@ -72,11 +72,12 @@
7272
###############################################################################
7373
7474
fossil test-th-render [file nativename [file join $dir th1-tcl5.txt]]
7575
7676
test th1-tcl-5 {$RESULT eq {<hr><p class="thmainError">ERROR:\
77
-Tcl command not found: bad_command</p>}}
77
+Tcl command not found: bad_command</p>} || $RESULT eq {<hr><p\
78
+class="thmainError">ERROR: invalid command name &quot;bad_command&quot;</p>}}
7879
7980
###############################################################################
8081
8182
fossil test-th-render [file nativename [file join $dir th1-tcl6.txt]]
8283
@@ -93,7 +94,9 @@
9394
###############################################################################
9495
9596
fossil test-th-render [file nativename [file join $dir th1-tcl8.txt]]
9697
9798
test th1-tcl-8 {$RESULT eq {<hr><p class="thmainError">ERROR:\
98
-Cannot invoke Tcl command: tailcall</p>}}
99
+Cannot invoke Tcl command: tailcall</p>} || $RESULT eq {<hr><p\
100
+class="thmainError">ERROR: tailcall can only be called from a proc or\
101
+lambda</p>}}
99102
100103
--- test/th1-tcl.test
+++ test/th1-tcl.test
@@ -72,11 +72,12 @@
72 ###############################################################################
73
74 fossil test-th-render [file nativename [file join $dir th1-tcl5.txt]]
75
76 test th1-tcl-5 {$RESULT eq {<hr><p class="thmainError">ERROR:\
77 Tcl command not found: bad_command</p>}}
 
78
79 ###############################################################################
80
81 fossil test-th-render [file nativename [file join $dir th1-tcl6.txt]]
82
@@ -93,7 +94,9 @@
93 ###############################################################################
94
95 fossil test-th-render [file nativename [file join $dir th1-tcl8.txt]]
96
97 test th1-tcl-8 {$RESULT eq {<hr><p class="thmainError">ERROR:\
98 Cannot invoke Tcl command: tailcall</p>}}
 
 
99
100
--- test/th1-tcl.test
+++ test/th1-tcl.test
@@ -72,11 +72,12 @@
72 ###############################################################################
73
74 fossil test-th-render [file nativename [file join $dir th1-tcl5.txt]]
75
76 test th1-tcl-5 {$RESULT eq {<hr><p class="thmainError">ERROR:\
77 Tcl command not found: bad_command</p>} || $RESULT eq {<hr><p\
78 class="thmainError">ERROR: invalid command name &quot;bad_command&quot;</p>}}
79
80 ###############################################################################
81
82 fossil test-th-render [file nativename [file join $dir th1-tcl6.txt]]
83
@@ -93,7 +94,9 @@
94 ###############################################################################
95
96 fossil test-th-render [file nativename [file join $dir th1-tcl8.txt]]
97
98 test th1-tcl-8 {$RESULT eq {<hr><p class="thmainError">ERROR:\
99 Cannot invoke Tcl command: tailcall</p>} || $RESULT eq {<hr><p\
100 class="thmainError">ERROR: tailcall can only be called from a proc or\
101 lambda</p>}}
102
103

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button