test capi: fix build infrastructure

This commit is contained in:
Hermet Park 2021-06-16 12:22:08 +09:00
parent 3f1b08f050
commit fe493a93f2
5 changed files with 10 additions and 6 deletions

View file

@ -21,7 +21,7 @@
*/
#include <thorvg_capi.h>
#include "catch.hpp"
#include "../catch.hpp"
TEST_CASE("Basic capi initialization", "[capiInitializer]")
{

View file

@ -21,7 +21,7 @@
*/
#include <thorvg_capi.h>
#include "catch.hpp"
#include "../catch.hpp"
#define UTC_EPSILON 1e-6f

View file

@ -21,7 +21,7 @@
*/
#include <thorvg_capi.h>
#include "catch.hpp"
#include "../catch.hpp"
TEST_CASE("Multiple shapes", "[capiShapes]")
{

View file

@ -21,7 +21,7 @@
*/
#include <thorvg_capi.h>
#include "catch.hpp"
#include "../catch.hpp"
TEST_CASE("Canvas initialization", "[capiCanvas]")
{

View file

@ -1,6 +1,10 @@
test_file = [
'capiMain.cpp',
'capiFill.cpp',
'capiInitializer.cpp',
'capiFill.cpp',
'capiMain.cpp',
'capiPaint.cpp',
'capiShape.cpp',
'capiSwCanvas.cpp',
]
tests = executable('capiUnitTests',