Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicOram committed Jun 14, 2021
1 parent b6e01bd commit 2e83b58
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ It recommended that you don't have the server side of IBEX running when testing

### Running all tests

To run all the tests in the test framework, use:
To run all the tests that are bundled in the test framework, use:

```
C:\Instrument\Apps\EPICS\config_env.bat
Expand All @@ -23,7 +23,9 @@ Then `cd` to `C:\Instrument\Apps\EPICS\support\IocTestFramework\master` and use:
python run_tests.py
```

There is a batch file which does this for you, called `run_all_tests.bat`
There is a batch file which does this for you, called `run_all_tests.bat`. Or, if you are already in an EPICS
terminal you can call `make ioctests` (note that if your MAKEFLAGS env variable contains `-Otarget` you will
not see the test output until all tests are complete.

### Running tests in modules

Expand Down Expand Up @@ -83,6 +85,13 @@ Sometimes you might want to run all the tests only in RECSIM or only in DEVSIM.

> `python run_tests.py -tm RECSIM`
### Run test and emulator from specific directory

For newer IOCs the emulator and tests live in the support folder of the IOC. To specify this to the test framework
you can use:

> `python run_tests.py --test_and_emulator C:\Instrument\Apps\EPICS\support\CCD100\master\system_tests`
## Troubleshooting

If all tests are failing then it is likely that the PV prefix is incorrect.
Expand Down

0 comments on commit 2e83b58

Please sign in to comment.