Skip to content

Commit 479a9e4

Browse files
committed
fix unittest for settings
1 parent 2d9494c commit 479a9e4

5 files changed

Lines changed: 642 additions & 636 deletions

File tree

supplementary/workflows/test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ set -x
55
export SKYSCRAPER_HOME="$(cd "$(dirname "$0")/../.." && pwd)"
66
source "${SKYSCRAPER_HOME}/supplementary/workflows/core.sh"
77

8+
export QT_QPA_PLATFORM=offscreen
9+
810
_test_android() {
911
local -r res="$(file "$TARGET_BIN")"
1012
echo "$res"

test/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
SUBDIRS = $(shell find . -maxdepth 1 -mindepth 1 -type d | sed 's,\./,,g')
1+
SUBDIRS = $(shell find . -maxdepth 1 -mindepth 1 -type d | sed 's,\./,,g' | sort)
22
QMAKE = qmake6
33

44
tests:
5-
rm -f "../moc_*"
65
$(foreach subdir, $(SUBDIRS), \
7-
echo "\n[*] Making all in $(subdir)"; \
6+
echo "\n[*] Making all in test/$(subdir) ..."; \
87
cd $(subdir) && $(QMAKE); \
98
$(MAKE) -j$(shell nproc) all || exit 1; \
109
./test_$(subdir) || exit 1; \
10+
echo "[*] ... done tests in test/$(subdir).\n"; \
1111
cd .. ; \
1212
)
1313

0 commit comments

Comments
 (0)