Files
sics/test/testsics
Ferdi Franceschini 3168325921 PSI update
r1464 | ffr | 2007-02-12 12:20:21 +1100 (Mon, 12 Feb 2007) | 2 lines
2012-11-15 12:58:05 +11:00

61 lines
1.5 KiB
Tcl
Executable File

#!/usr/bin/tclsh
#------------------------------------------------------------------------------
# This is a regression test for SICS. Before this can be used a SICServer must
# have been started with: SICServer testini.tcl. This file uses the
# tcltest package which comes with SICS for tests.
#
# copyright: see file COPYRIGHT
#
# Started: Mark Koennecke, July 2006
#------------------------------------------------------------------------------
# as of now we have tcl8.3 which has an outdated version of tcltest. We use
# a better version in a local file. Once tcl8.4 has made it into the distro
# I use, use the line below. We need tcltest 2.+
# package require tcltest
source tcltest.tcl
namespace import tcltest::*
source testutil.tcl
source sicstcldebug.tcl
#--------------- Test Miscellaneous stuff
source testmisc.tcl
#-------------- Test for motors
source mottest.tcl
#-------------- Test Counter
set countername aba
set errorname aba
source countertest.tcl
#-------------- Test Multi Counter
set countername multi
source countertest.tcl
#-------------- Test batch processing
source batchtest.tcl
#-------------- Test scans
source scantest.tcl
#------------ Test peak optimization
source optitest.tcl
#----------- test histogram memory
source histtest.tcl
#----------- test sics data
source testsicsdata.tcl
#----------- test nxscript
source nxscripttest.tcl
#------------ test SANS MultiMotor
source testmumo.tcl
#------------ print test summary
cleanupTests
exit 1