From 54745f2f01aecf24e51b035ef751d55147958477 Mon Sep 17 00:00:00 2001 From: James Chapman Date: Tue, 23 Jan 2024 10:54:03 +0000 Subject: [PATCH] fix: remove redundant files Signed-off-by: James Chapman --- modules/Setup/.gitignore | 2 -- modules/Setup/meson.build | 36 ------------------------------------ 2 files changed, 38 deletions(-) delete mode 100644 modules/Setup/.gitignore delete mode 100644 modules/Setup/meson.build diff --git a/modules/Setup/.gitignore b/modules/Setup/.gitignore deleted file mode 100644 index 4b5f9a268..000000000 --- a/modules/Setup/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -!meson.build - diff --git a/modules/Setup/meson.build b/modules/Setup/meson.build deleted file mode 100644 index de61022b6..000000000 --- a/modules/Setup/meson.build +++ /dev/null @@ -1,36 +0,0 @@ -# for code coverage (ensure gcovr, lcov and genhtml are installed): -# meson setup build -Db_coverage=true -# meson test -C build -# -# ninja test -C build -# ninja coverage-html -C build -# coverage report: build/meson-logs/coveragereport/index.html -# -# memcheck/valgrind -# meson test --wrap='valgrind --leak-check=full --error-exitcode=1' -C build -# or -# valgrind build/wifisetuptest - -# for googletest (as root) -# apt install googletest -# cd /usr/src/googletest -# mkdir build -# cd build -# cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_SHARED_LIBS=ON -DBUILD_GTEST=ON -DBUILD_GMOCK=ON -DINSTALL_GTEST=ON -DINSTALL_GMOCK=ON ../ -# make -# make install -# cd .. -# rm -rf build - -project('Setup_unittests', 'cpp') -gtestdep = dependency('gtest_main', version : '>=1.10.0') - -wifisetup_src = ['WiFiSetup.cpp'] -wifisetup_testsrc = ['test/RunApplicationStub.cpp', 'test/WiFiSetupTest.cpp'] - -wifisetuptest_exe = executable('wifisetuptest', wifisetup_src + wifisetup_testsrc, - include_directories : 'test', - dependencies : gtestdep -) - -test('wifisetup tests', wifisetuptest_exe)