File: README.md

package info (click to toggle)
cegui-mk2 0.8.7%2Bgit20220615-6
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 57,824 kB
  • sloc: cpp: 306,263; python: 1,175; ansic: 812; sh: 616; xml: 191; java: 162; makefile: 21
file content (29 lines) | stat: -rw-r--r-- 777 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Automated testing
=================

CEGUI employs various automated testing executables to prevent breakages.

How to run all tests
--------------------

We use ctest which is part of cmake to run tests. You first need to enable
the tests that you want to run. Enable `CEGUI_BUILD_TESTS` and/or
`CEGUI_BUILD_DATAFILES_TEST` options in cmake.

Then run the tests using the following commands, based on your operating system:

* Linux / Mac OS X
```bash
cd $cegui_folder
cd build/
CEGUI_SAMPLE_DATAPATH=`pwd`/../datafiles/ ctest -V
```

* Windows
```
cd <cegui folder>
cd build/
set CEGUI_SAMPLE_DATAPATH=%CD%/../datafiles/
ctest -V -C <configuration>
```
Where `<configuration>` is one of: `Debug`, `Release` or `RelWithDebInfo`, depending on what configuration you have built.