ADDED tests/dep-tests/common.testconfig Index: tests/dep-tests/common.testconfig ================================================================== --- /dev/null +++ tests/dep-tests/common.testconfig @@ -0,0 +1,16 @@ +[ezsteps] +delay sleep $SPEED;echo "Delayed $SPEED seconds" + +[requirements] +#{getenv WAITON_#{getenv MT_TEST_NAME}} + +[test_meta] +author matt +owner matt +description This is a common testconfig shared by all the tests + +[logpro] +delay ;; Delay step logpro + (expect:required in "LogFileBody" > 0 "Delayed message" #/Delayed \d+ seconds/) + +reviewed 09/10/2011, by Matt ADDED tests/dep-tests/common_itemstable.testconfig Index: tests/dep-tests/common_itemstable.testconfig ================================================================== --- /dev/null +++ tests/dep-tests/common_itemstable.testconfig @@ -0,0 +1,4 @@ +[itemstable] +VIEW layout layout layout schematic schematic schematic +CELL ntran ptran diode ntran ptran diode + ADDED tests/dep-tests/megatest.config Index: tests/dep-tests/megatest.config ================================================================== --- /dev/null +++ tests/dep-tests/megatest.config @@ -0,0 +1,67 @@ +[fields] +# this field changes the dep tree +DEPS TEXT + +# this field changes the test run time; 0 .. N or random +SPEED TEXT + +[dashboard] +pre-command xterm -geometry 180x20 -e " +post-command |& tee results.log ;echo Press any key to continue;bash -c 'read -n 1 -s'" & +testsort -event_time + +[misc] +home #{shell readlink -f $MT_RUN_AREA_HOME} +parent #{shell readlink -f $MT_RUN_AREA_HOME/..} + +[setup] +linktree #{get misc parent}/links +max_concurrent_jobs 100000 +# It is possible (but not recommended) to override the rsync command used +# to populate the test directories. For test development the following +# example can be useful +# +testcopycmd cp --remove-destination -rsv TEST_SRC_PATH/. TEST_TARG_PATH/. >> TEST_TARG_PATH/mt_launch.log 2>> TEST_TARG_PATH/mt_launch.log + +# or for hard links + +# testcopycmd cp --remove-destination -rlv TEST_SRC_PATH/. TEST_TARG_PATH/. + +# override the logview command +# +logviewer (%MTCMD%) 2> /dev/null > /dev/null + +# override the html viewer launch command +# +# htmlviewercmd firefox -new-window +htmlviewercmd arora + +[env-override] +# MT_XTERM_CMD overrides the terminal command +# MT_XTERM_CMD xterm -bg lightgreen -fg black + +## disks are: +## name host:/path/to/area +## -or- +## name /path/to/area +[disks] +disk0 #{get misc parent}/runs + +#====================================================================== +# Machine flavors +# +# These specify lists of hosts or scripts to use or call for various +# flavors of task. +# +#====================================================================== + +[flavors] + +plain hosts: xena, phoebe +strong command: NBFAKE_HOST=zeus nbfake +arm hosts: cubian + +# Uncomment these to emulate a job queue with a long time (look in bin/sleeprunner for the time) +[jobtools] +launcher nbfake +maxload 2.0 ADDED tests/dep-tests/runconfigs.config Index: tests/dep-tests/runconfigs.config ================================================================== --- /dev/null +++ tests/dep-tests/runconfigs.config @@ -0,0 +1,11 @@ +[default] +WAITON_setup +WAITON_genlib waiton setup +WAITON_test1 waiton genlib +WAITON_aggregate waiton test1 +WAITON_test2 waiton aggregate + +# [DEPS/SPEED] + +[std/0] + ADDED tests/dep-tests/tests/aggregate/testconfig Index: tests/dep-tests/tests/aggregate/testconfig ================================================================== --- /dev/null +++ tests/dep-tests/tests/aggregate/testconfig @@ -0,0 +1,2 @@ +[include #{getenv MT_RUN_AREA_HOME}/common.testconfig] + ADDED tests/dep-tests/tests/genlib/testconfig Index: tests/dep-tests/tests/genlib/testconfig ================================================================== --- /dev/null +++ tests/dep-tests/tests/genlib/testconfig @@ -0,0 +1,5 @@ +[include #{getenv MT_RUN_AREA_HOME}/common.testconfig] + +[itemstable] +VIEWTYPE layout schematic + ADDED tests/dep-tests/tests/results/testconfig Index: tests/dep-tests/tests/results/testconfig ================================================================== --- /dev/null +++ tests/dep-tests/tests/results/testconfig @@ -0,0 +1,2 @@ +[include #{getenv MT_RUN_AREA_HOME}/common.testconfig] + ADDED tests/dep-tests/tests/setup/testconfig Index: tests/dep-tests/tests/setup/testconfig ================================================================== --- /dev/null +++ tests/dep-tests/tests/setup/testconfig @@ -0,0 +1,2 @@ +[include #{getenv MT_RUN_AREA_HOME}/common.testconfig] + ADDED tests/dep-tests/tests/test1/testconfig Index: tests/dep-tests/tests/test1/testconfig ================================================================== --- /dev/null +++ tests/dep-tests/tests/test1/testconfig @@ -0,0 +1,3 @@ +[include #{getenv MT_RUN_AREA_HOME}/common.testconfig] + +[include #{getenv MT_RUN_AREA_HOME}/common_itemstable.testconfig] ADDED tests/dep-tests/tests/test2/testconfig Index: tests/dep-tests/tests/test2/testconfig ================================================================== --- /dev/null +++ tests/dep-tests/tests/test2/testconfig @@ -0,0 +1,3 @@ +[include #{getenv MT_RUN_AREA_HOME}/common.testconfig] + +[include #{getenv MT_RUN_AREA_HOME}/common_itemstable.testconfig]