Add README.md in ctest

This commit is contained in:
Atsushi Togo 2023-01-22 22:30:34 +09:00
parent e2e9bdcd24
commit 4321c1083c
1 changed files with 16 additions and 0 deletions

16
ctest/README.md Normal file
View File

@ -0,0 +1,16 @@
This directory contains tests for grid system C-library.
Grid system C-library and its tests are created and tested by
```bash
mkdir build_gridsys && cd build_gridsys
cmake -DCMAKE_INSTALL_PREFIX=. -DWITH_TESTS=on -DGRIDSYS=on ..
cmake --build .
ctest -V --test-dir ctest
```
Specific test is performed by
```bash
ctest -V --test-dir ctest -R test_gridsys.test_gridsys_get_grid_address_from_index
```