]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - tcl_tests/ossltest.tcl
Don't put test results or intermediary files in the source tree
[openssl-gost/engine.git] / tcl_tests / ossltest.tcl
index a6f02836c09b80284b48701c88947f63833a8927..792c0718e35c409840b73b8d71bdcc8e06822423 100644 (file)
@@ -61,6 +61,16 @@ package require test
 set test::suffix ""
 package require base64
 
+#
+# set  up test::src variable
+#
+
+if {[info exists env(TESTSRC)]} {
+       set ::test::src [file normalize $env(TESTSRC)]
+} else {
+       set ::test::src [pwd]
+}      
+
 #
 # set  up test::dir variable
 #