From 7cd8d8ea392b75be1abdf8c3a796c35cb59be522 Mon Sep 17 00:00:00 2001 From: Clovis Durand Date: Wed, 18 Mar 2020 12:21:21 +0100 Subject: [PATCH] [#6] Added CTest call to the `npm test` script Signed-off-by: Clovis Durand --- .github/workflows/build.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b864668..16d5f14 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,6 +53,6 @@ jobs: cmake ../generator -DCMAKE_C_FLAGS=/w34716 -DCMAKE_CXX_FLAGS=/w34716 cmake --build . - - name: Test Node project + - name: Test project run: | npm test diff --git a/package.json b/package.json index f4c0325..912dc8e 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Object Dictionary code generator for the OSCO stack", "main": "gui/main.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 0", + "test": "cd build/tests/ && ctest -VV", "build-gen": "./buildCGen.sh", "start": "electron ." },