Skip to content

Commit

Permalink
Update Testing.md with arm testing guidelines (#655)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mandeep Singh Grang authored Aug 7, 2019
1 parent 784d0f7 commit 3bafbd8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/checkedc/Testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,17 @@ Set up the build system and then change to your new object directory. Use the f
In your build directory,

- Checked C tests: `make -j nnn check-checkedc`
- Checked C tests (for ARM target): `make -j nnn check-checkedc-arm`
- clang tests: `make -j nnn check-clang`
- All tests: `make -j nnn check-all`

where `nnn` is replaced by the number of CPU cores that your computer has.

Note: If you use CMake with ninja, then you can simply replace `make -j nnn` in
the above commands with `ninja`. For exammple:

`ninja check-checkedc`

### From a command shell using the testing harness
You can use the testing harness to run individual tests or sets of tests.
These directions are adapted from http://llvm.org/docs/TestingGuide.html#id11.
Expand All @@ -65,7 +71,7 @@ build step:
`-DCHECKEDC_ARM_SYSROOT=<sysroot>` Specify the path to the top of an ARM
sysroot which contains the ARM-specific headers and runtime libs.

`-DCHECKEDC_ARM_RUNUNDER=<device>` Specify the device to run the arm lit
`-DCHECKEDC_ARM_RUNUNDER=<device>` Specify the device to run the ARM lit
tests on. For example, specify this as `qemu-arm` in order to run the tests on
the ARM QEMU.

Expand Down

0 comments on commit 3bafbd8

Please sign in to comment.