mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
tests: move clar to deps
Clean up the `tests` folder to only contain _actual tests_. Since clar is now a reasonably external project, move it to `deps`.
This commit is contained in:
0
tests/clar/clar.c → deps/clar/clar.c
vendored
0
tests/clar/clar.c → deps/clar/clar.c
vendored
0
tests/clar/clar.h → deps/clar/clar.h
vendored
0
tests/clar/clar.h → deps/clar/clar.h
vendored
0
tests/clar/main.c → deps/clar/main.c
vendored
0
tests/clar/main.c → deps/clar/main.c
vendored
@@ -4,8 +4,6 @@ These are the unit and integration tests for the libgit2 projects.
|
||||
|
||||
* `benchmarks`
|
||||
These are benchmark tests that excercise the CLI.
|
||||
* `clar`
|
||||
This is [clar](https://github.com/clar-test/clar) the common test framework.
|
||||
* `headertest`
|
||||
This is a simple project that ensures that our public headers are
|
||||
compatible with extremely strict compilation options.
|
||||
|
||||
@@ -12,7 +12,7 @@ if(NOT PYTHONINTERP_FOUND)
|
||||
"Make sure python is available, or pass -DBUILD_TESTS=OFF to skip building the tests")
|
||||
ENDIF()
|
||||
|
||||
set(CLAR_PATH "${PROJECT_SOURCE_DIR}/tests/clar")
|
||||
set(CLAR_PATH "${PROJECT_SOURCE_DIR}/deps/clar")
|
||||
set(CLAR_FIXTURES "${PROJECT_SOURCE_DIR}/tests/resources/")
|
||||
set(TEST_PATH "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
add_definitions(-DCLAR_FIXTURE_PATH=\"${CLAR_FIXTURES}\")
|
||||
|
||||
@@ -12,7 +12,7 @@ if(NOT PYTHONINTERP_FOUND)
|
||||
"Make sure python is available, or pass -DBUILD_TESTS=OFF to skip building the tests")
|
||||
ENDIF()
|
||||
|
||||
set(CLAR_PATH "${libgit2_SOURCE_DIR}/tests/clar")
|
||||
set(CLAR_PATH "${libgit2_SOURCE_DIR}/deps/clar")
|
||||
set(CLAR_FIXTURES "${libgit2_SOURCE_DIR}/tests/resources/")
|
||||
set(TEST_PATH "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
add_definitions(-DCLAR_FIXTURE_PATH=\"${CLAR_FIXTURES}\")
|
||||
|
||||
Reference in New Issue
Block a user