mirror of
https://github.com/bettse/seader.git
synced 2026-08-02 09:10:06 +00:00
Move tests to lib/ to avoid linter issues
This commit is contained in:
@@ -17,7 +17,7 @@ jobs:
|
||||
- name: Run host tests
|
||||
run: make test-host
|
||||
- name: Lint sources
|
||||
run: ufbt lint ARGS="!./tests/host/vendor/munit"
|
||||
run: ufbt lint
|
||||
- name: Build with ufbt
|
||||
uses: flipperdevices/flipperzero-ufbt-action@v0.1.2
|
||||
id: build-app
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
[submodule "plugin"]
|
||||
path = plugin
|
||||
url = https://gitlab.com/bettse/flipper-wiegand-plugin.git
|
||||
[submodule "tests/host/vendor/munit"]
|
||||
path = tests/host/vendor/munit
|
||||
[submodule "lib/host_tests/vendor/munit"]
|
||||
path = lib/host_tests/vendor/munit
|
||||
url = https://github.com/nemequ/munit.git
|
||||
|
||||
@@ -11,13 +11,13 @@ build:
|
||||
|
||||
test-host:
|
||||
mkdir -p build/host_tests
|
||||
cc -std=c11 -Wall -Wextra -Werror -DSEADER_HOST_TEST -Itests/host/vendor/munit -Itests/host -I. \
|
||||
tests/host/vendor/munit/munit.c \
|
||||
tests/host/test_main.c \
|
||||
tests/host/test_lrc.c \
|
||||
tests/host/test_t1_existing.c \
|
||||
tests/host/t1_test_stubs.c \
|
||||
tests/host/bit_buffer_mock.c \
|
||||
cc -std=c11 -Wall -Wextra -Werror -DSEADER_HOST_TEST -Ilib/host_tests/vendor/munit -Ilib/host_tests -I. \
|
||||
lib/host_tests/vendor/munit/munit.c \
|
||||
lib/host_tests/test_main.c \
|
||||
lib/host_tests/test_lrc.c \
|
||||
lib/host_tests/test_t1_existing.c \
|
||||
lib/host_tests/t1_test_stubs.c \
|
||||
lib/host_tests/bit_buffer_mock.c \
|
||||
lrc.c \
|
||||
t_1.c \
|
||||
-o build/host_tests/seader_tests
|
||||
@@ -27,7 +27,7 @@ launch:
|
||||
ufbt launch
|
||||
|
||||
format:
|
||||
ufbt format ARGS="!./tests/host/vendor/munit"
|
||||
ufbt format
|
||||
|
||||
clean:
|
||||
rm -rf dist
|
||||
|
||||
@@ -21,7 +21,6 @@ App(
|
||||
"*.c",
|
||||
"aeabi_uldivmod.sx",
|
||||
"!plugin/*.c",
|
||||
"!tests",
|
||||
],
|
||||
fap_icon="icons/logo.png",
|
||||
fap_category="NFC",
|
||||
|
||||
Reference in New Issue
Block a user