Skip to content

Standalone pan tests#125

Merged
jrha merged 3 commits intoquattor:masterfrom
iliclaey:standalone-pan-tests
Dec 6, 2016
Merged

Standalone pan tests#125
jrha merged 3 commits intoquattor:masterfrom
iliclaey:standalone-pan-tests

Conversation

@iliclaey
Copy link
Contributor

Fixes #117

<mainClass>org.quattor.pan.PanTest</mainClass>
</manifest>
</archive>
<descriptors>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if this assembly file is only relevant for this fat jar, bets rename it to assembly-fat.xml or so

*
* When building the panc-project a panc-MAJOR.MINOR-SNAPSHOT-fat-jar-with-tests.jar file is created.
* This jar can be used to execute pan test files and should be used as follows:
* `java -Dpanc.testdir="path" -Dpanc.tmpdir="path" -jar path/to/panc-MAJOR.MINOR-SNAPSHOT-fat-jar-with-tests.jar`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what are the exitcodes on succes, failure and error (like syntax exception)?
can you try to run some tests and check the $? value?

Copy link
Contributor Author

@iliclaey iliclaey Jul 29, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stdweird If the tests succeed, $? will be 0, otherwise it should be 1. When there's something wrong with the pan code itself or with the expected outcome, the correct error message will be displayed as well.

@jrha jrha added this to the 10.4 milestone Nov 24, 2016
@jrha jrha merged commit 2e54e01 into quattor:master Dec 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants