|
|
# Basic Usage
|
|
|
|
|
|
Testsuite basic usage is composed of three steps: download the testsuite, configure it, and run it.
|
|
|
|
|
|
1. Checkout the TestSuite 2.0:
|
|
|
|
|
|
* From MN4:
|
|
|
|
|
|
svn co file:///gpfs/projects/bsc21/svnroot/AlyaTS/Trunk
|
|
|
|
|
|
* Local Machine:
|
|
|
|
|
|
svn co svn+ssh://bsc21***@mn3.bsc.es/gpfs/projects/bsc21/svnroot/AlyaTS/Trunk
|
|
|
|
|
|
If you have already downloaded the testsuite, you want to update it to get the last features:
|
|
|
|
|
|
svn update
|
|
|
|
|
|
2. Configure the testSuite:
|
|
|
|
|
|
./configure
|
|
|
|
|
|
3. Execute the testSuite:
|
|
|
|
|
|
./testSuite
|
|
|
|
|
|
# Advanced Usage
|
|
|
|
|
|
You will find here advanced features.
|
|
|
|
|
|
## Advanced configuration
|
|
|
|
|
|
You can run `./configure` with one of these options:
|
|
|
|
|
|
* `-e` To change the user email.
|
|
|
* `-s` To select the path in marenostrum where the testsuite will be executed.
|
|
|
* `-b` To choose the branch that will be tested.
|
|
|
* `-t` To select which tests will be executed.
|
|
|
* `-q` To select the job queue
|
|
|
* `--all` To reset the whole configuration. Mandatory if you want to change your MN user or the login node.
|
|
|
|
|
|
Alternatively, you can edit the `client-config.json` file by hand to edit options that are not available through the `configure` interface.
|
|
|
|
|
|
## Advanced run
|
|
|
|
|
|
You can run the `./testSuite` with various options.
|
|
|
|
|
|
* `./testSuite` -> Normal execution.
|
|
|
* `./testSuite launch` -> Execute the TS and finish after the initialization.
|
|
|
* `./testSuite check` -> After "launch" check if the TS has finished.
|
|
|
* `./testSuite report` -> After launch check if the TS has finished and generate the report.
|
|
|
|
|
|
You can do `./testSuite launch`, switch off your PC and then `./testSuite check/report`
|
|
|
|