blob: 3bb62b5e83249115f53bd78ab5c1013f88ed41f3 [file] [log] [blame]
aPiecekb5cda5e2023-06-29 11:26:28 +02001# @brief The main source of functions and variables for testing yangre.
2
3package require tcltest
4namespace import ::tcltest::test ::tcltest::cleanupTests
5
6if { ![info exists ::env(TESTS_DIR)] } {
7 # the script is not run via 'ctest' so paths must be set
8 set ::env(TESTS_DIR) "./"
9 set TUT_PATH "../../build"
10} else {
11 # cmake (ctest) already sets ::env variables
12 set TUT_PATH $::env(YANGRE)
13}
14set TUT_NAME "yangre"
15source "$::env(TESTS_DIR)/../tool_ni.tcl"
16
17# The script continues by defining variables and functions specific to the yangre tool.