... | ... | @@ -13,14 +13,21 @@ profmerge -a |
|
|
```
|
|
|
(Note: If you only want code coverage from the last test run remove old `.dyn` files and the `.dpi` file in the `prof-info` directory. As old test runs might cover code that was not covered in the latest test run.)
|
|
|
|
|
|
* Run the code coverage tool and specify the path to SWIFT library `.spi` file:
|
|
|
* Run the code coverage tool:
|
|
|
|
|
|
```
|
|
|
codecov -spi swiftsim/src/pgopti.spi
|
|
|
codecov
|
|
|
```
|
|
|
|
|
|
This will generate an `HTML` file called `CODE_COVERAGE.HTML`, which contains the code coverage report and show how much of the application was actually executed, line by line.
|
|
|
|
|
|
* If you didn't specify the `-prof-dir` flag you can run the code coverage tool and specify the path to SWIFT library `.spi` file instead:
|
|
|
|
|
|
```
|
|
|
codecov -spi swiftsim/src/pgopti.spi
|
|
|
```
|
|
|
(However this will not contain code coverage for the test source code itself.)
|
|
|
|
|
|
* A more detailed guide can be found at https://software.intel.com/en-us/node/522743
|
|
|
|
|
|
GCC
|
... | ... | |