+ provoke AHK test error for checking bad test path ...

This commit is contained in:
Rainer Kottenhoff 2017-10-10 14:23:19 +02:00
parent 48d3d60476
commit fa84bfa5dc
2 changed files with 6 additions and 1 deletions

View File

@ -184,7 +184,7 @@ test_script:
# scripts to run after tests
after_test:
# - echo after_test
#---------------------------------#
# artifacts configuration #

View File

@ -70,6 +70,11 @@ IfNotInString, v_NP3Title, %v_NP3TestDir%
v_ErrLevel = 1
stdout.WriteLine("*** ERROR: " . v_NP3TestDir . " missing in Title: " . v_NP3Title)
}
IfNotInString, v_NP3Title, "XXX ERROR XXX"
{
v_ErrLevel = 1
stdout.WriteLine("*** ERROR: XXX ERROR XXX missing in Title: " . v_NP3Title)
}
If (v_ErrLevel != 0)
{
Goto LABEL_END