# 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 | |
---|---|---|---|---|---|
#6 | 19424 | C. Thomas Tyler |
Added Tests 42 and 43 for sync using StreamDepth>1 and a stream spec using an import entry, including importing from a second stream depot, //tools, with StreamDepth>1. Test 42 succeeds (as expected), and test 43 fails (also as expected, until the fix goes in). |
||
#5 | 19348 | C. Thomas Tyler | Added test for sync in depot with StreamDepth > 1. | ||
#4 | 19336 | C. Thomas Tyler | Enhanced StreamDepth > 1 tests. | ||
#3 | 19334 | C. Thomas Tyler | Updated test for StreamDepth > 1. | ||
#2 | 19332 | C. Thomas Tyler | Added test case for adding CBD file with StreamDepth > 1. | ||
#1 | 15274 | C. Thomas Tyler |
Merge Down of cbd to dev from main using: p4 merge -b perforce_software-cbd-dev |
||
//guest/perforce_software/cbd/main/test/shared/scripted_tests.cfg | |||||
#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. |