scripted_tests.cfg #1

  • //
  • cbd/
  • main/
  • test/
  • shared/
  • scripted_tests.cfg
  • View
  • Commits
  • Open Download .zip Download (2 KB)
# The one-line entries in this file are in one of two formats:
#
# <TestScript>.sh|<ExpectedExitCode>|<StringExpectedInOutput>|<Comments>
#
# or:
#
# <TestScript.sh>|<ExpectedExitCode>|<Type>LOG:<StringExpectedInLog>|<Comments>

# <Type> is one of:
# CBD - The cbd.log
# SSTU - SSTemplateUpate.log
# SSUT - SSUpdateTemplate.log

# Test scripts are passed the following parameters:
# $1 - TestID
# $2 - P4BIN - the 'p4' executable to use.
# $3 - P4PORT - P4PORT value, to be used in the script.
# $4 - P4USER - Default P4USER value; may be ignored in the script.
# $5 - P4CLIENT - Default P4CLIENT value; may be ignored in the script.

# Scripts must use $1 and $2; other parameters can be ignored.
#
# Test scripts exit with a 0 or 1 as normal exit codes, either of
# which may be interpreted as successful based on the expected exit
# code defined below.  Test scripts exit with 2 to indicate an
# unexpected failure (and also result in test failure).
scripted_test_1.sh|1|Wrong number of words for field 'Paths'.|Attempt to submit an invalid *.cbdsst file.
scripted_test_2.sh|0|SSTULOG:p4 key cbd_stream_jam_rel2.1_path0 //jam/rel2.1/...|Test handling of excess whitespece in *.cbdsst file (job000247).
scripted_test_3.sh|1|This could happen if no changes were made|Test attempted submit of unmodified *.cbdsst file.
scripted_test_4.sh|0|SSTULOG:Running p4 key cbd_stream_DeepThought_Components_main_vspec0 #head|Add *.cbdsst to DeepThought depot with StreamDepth > 1.
scripted_test_5.sh|0|CBDLOG:Rewrite: arg: //DeepThought/Components/dev/...#head|Create and sync new dev stream from mainline in DeepThought depot with StreamDepth > 1.
scripted_test_6.sh|0|CBDLOG:Rewrite: arg: //pb/1.5.1-p/...@8906|Global sync of dev stream including import in DeepThought depot with StreamDepth > 1.
scripted_test_7.sh|0|CBDLOG:Rewrite: arg: //pb/1.5.1-p/...@8906|Confused global sync of dev stream including import in DeepThought depot with StreamDepth > 1.
# Change User Description Committed
#1 21633 C. Thomas Tyler Populate -o //guest/perforce_software/cbd/main/...
//cbd/main/....
//guest/perforce_software/cbd/main/test/shared/scripted_tests.cfg
#3 19429 C. Thomas Tyler Released CBD/MultiArch/2016.2/19425 (2016/05/17).
#2 19351 C. Thomas Tyler Released CBD/MultiArch/2016.2/19348 (2016/05/10).
Copy Up using 'p4 copy -r -b perforce_software-cbd-dev'.
#1 15273 C. Thomas Tyler Copy Up using 'p4 copy -r -b perforce_software-cbd-ntx64'.
Stabilization changes.
Test suite enhancements.
//guest/perforce_software/cbd/ntx64/test/shared/scripted_tests.cfg
#3 15271 C. Thomas Tyler Scripted tests 1-3 now works correctly.
#2 15258 C. Thomas Tyler Added support for executing scripted mini-tests, and added some tests
and a test config file for managing scripted tests.

Modified Triggers table to run trigger as both change-content and
change-commit trigger.

Added 'Stream:' field with macro to generated *.cbdsst files.
#1 15171 C. Thomas Tyler Prep to add new scripted tests to test submits.