-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement pipeline support for TAZ unit tests #561
Implement pipeline support for TAZ unit tests #561
Conversation
Signed-off-by: Dennis Behm <dennis.behm@de.ibm.com>
Signed-off-by: Dennis Behm <dennis.behm@de.ibm.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few comments
build-conf/datasets.properties
Outdated
@@ -69,8 +69,8 @@ SEQAMOD= | |||
# Optional IDz Load Library. Example: FEL.V14R0M0.SFELLOAD | |||
SFELLOAD= | |||
|
|||
# Optional IDZ zUnit / WAZI VTP library containing necessary copybooks. Example : FEL.V14R2.SBZUSAMP | |||
SBZUSAMP= | |||
# Optional IBM Debug Tool library necessary TAZ copybooks. Example : DEBUG.V16.SEQASAMP |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this value optional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally it is optional, but obviously required when the user is leveraging TAZ
languages/Cobol.groovy
Outdated
@@ -246,7 +246,7 @@ def createCompileCommand(String buildFile, LogicalFile logicalFile, String membe | |||
|
|||
// add additional zunit libraries | |||
if (isZUnitTestCase) | |||
compile.dd(new DDStatement().dsn(props.SBZUSAMP).options("shr")) | |||
compile.dd(new DDStatement().dsn(props.SEQASAMP).options("shr")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In there an indentation issue here?
languages/TazUnitTest.groovy
Outdated
props.error = "true" | ||
String errorMsg = "*! zUnit Test Job ${zUnitRunJCL.submittedJobId} failed with ${zUnitRunJCL.maxRC}" | ||
String errorMsg = "*! The zunit test failed with RC=($rc) for $buildFile " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
String errorMsg = "*! The zunit test failed with RC=($rc) for $buildFile " | |
String errorMsg = "*! The TAZ Unit Test failed with RC=$rc for '$buildFile'" |
@@ -30,7 +30,7 @@ SCSQLOAD | MQ Load Library. Example: CSQ.V9R1M0.SCSQLOAD | |||
SDSNLOAD | DB2 Load Library. Example: DB2.V9R1M0.SDSNLOAD | |||
SDSNEXIT | DB2 Exit Library. Example: DBC0CFG.SDSNEXIT | |||
SFELLOAD | Optional IDz Load Library. Example: FEL.V14R0M0.SFELLOAD | |||
SBZUSAMP | Optional z/OS Dynamic Test Runner IDz zUnit / WAZI VTP library containing necessary copybooks. Example : FEL.V14R2.SBZUSAMP | |||
SEQASAMP | Optional IBM Debug Tool library containing necessary TAZ copybooks. Example : DEBUG.V16.SEQASAMP |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it optional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Required for TAZ, but optional for a normal Cobol build.
Signed-off-by: Dennis Behm <dennis.behm@de.ibm.com>
Co-authored-by: Mathieu Dalbin <mathieu.dalbin@fr.ibm.com>
Co-authored-by: Mathieu Dalbin <mathieu.dalbin@fr.ibm.com>
Signed-off-by: Dennis Behm <dennis.behm@de.ibm.com>
Signed-off-by: Dennis Behm <dennis.behm@de.ibm.com>
* Provide deployType for object decks Signed-off-by: Mathieu Dalbin <mathieu.dalbin@fr.ibm.com>
Signed-off-by: Dennis Behm <dennis.behm@de.ibm.com>
Signed-off-by: Dennis Behm <dennis.behm@de.ibm.com>
feature/560-support-for-taz-early-development-tests-unit-tests # Conflicts: # languages/Cobol.groovy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just realized the property jobCard
is in application.properties, and could be shared with other language scripts.
Would it make sense to move it to the TAZUnitTest.properties and use a better property name like tazunittest_jobCard
, and provide a default value?
Signed-off-by: Dennis Behm <dennis.behm@de.ibm.com>
Signed-off-by: Dennis Behm <dennis.behm@de.ibm.com>
Signed-off-by: Dennis Behm <dennis.behm@de.ibm.com>
@M-DLB Introduced a dedicated job card property for the taz unit tests, and uplifted a couple of properties in the with the recent commits. Can you please have another check? Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @dennis-behm
This PR is dropping the support for IDZ Zunit test setup, and introduces TAZ Unit test support in zAppBuild.