Adding upstream version 3.1.0+dfsg.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
64dbec996d
commit
cfcebb1a7d
569 changed files with 205393 additions and 0 deletions
15
tests/yanglint/non-interactive/all.tcl
Normal file
15
tests/yanglint/non-interactive/all.tcl
Normal file
|
@ -0,0 +1,15 @@
|
|||
package require tcltest
|
||||
|
||||
# Hook to determine if any of the tests failed.
|
||||
# Sets a global variable exitCode to 1 if any test fails otherwise it is set to 0.
|
||||
proc tcltest::cleanupTestsHook {} {
|
||||
variable numTests
|
||||
set ::exitCode [expr {$numTests(Failed) > 0}]
|
||||
}
|
||||
|
||||
if {[info exists ::env(TESTS_DIR)]} {
|
||||
tcltest::configure -testdir "$env(TESTS_DIR)/non-interactive"
|
||||
}
|
||||
|
||||
tcltest::runAllTests
|
||||
exit $exitCode
|
Loading…
Add table
Add a link
Reference in a new issue