mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-27 12:26:24 +00:00
Move tests to bash scripts and Makefiles
This commit is contained in:
1 parent
f67e843be6
commit
cd86559685
6 files changed
+59
-27
No files matched your search
+10
-3
@@ -6,12 +6,15 @@ ifeq "$(IDE)" "GCC+make"
|
||||
BUILD = $(MAKE) -f ../gcc+make/Makefile PROJECTS=wizard
|
||||
endif
|
||||
ifeq "$(IDE)" "CubeIDE"
|
||||
BUILD = $(MAKE) -f ../cube/Makefile PROJECTS=wizard && rm -rf workspace
|
||||
BUILD = mkdir -p workspace && $(MAKE) -f ../cube/Makefile PROJECTS=wizard && rmdir workspace
|
||||
endif
|
||||
ifeq "$(IDE)" "MCUXpresso"
|
||||
BUILD = $(MAKE) -f ../xpresso/Makefile PROJECTS=wizard && rm -rf workspace
|
||||
BUILD = mkdir -p workspace && $(MAKE) -f ../xpresso/Makefile PROJECTS=wizard && rmdir workspace
|
||||
endif
|
||||
ifeq "$(IDE)" "Keil"
|
||||
ifeq "$(IDE)" "ModusIDE"
|
||||
BUILD = true
|
||||
endif
|
||||
ifeq "$(IDE)" "e2studio"
|
||||
BUILD = true
|
||||
endif
|
||||
ifeq "$(IDE)" "Pico-SDK"
|
||||
@@ -20,6 +23,9 @@ endif
|
||||
ifeq "$(IDE)" "ESP-IDF"
|
||||
BUILD = $(MAKE) -f ../esp-idf/Makefile PROJECTS=wizard
|
||||
endif
|
||||
ifeq "$(IDE)" "Keil"
|
||||
BUILD = true
|
||||
endif
|
||||
ifeq "$(IDE)" "Arduino"
|
||||
BUILD = true
|
||||
endif
|
||||
@@ -32,6 +38,7 @@ endif
|
||||
|
||||
|
||||
firmware.bin: wizard
|
||||
(test "$(BUILD)" == "true" && echo "NOT TESTING $(BOARD) $(IDE) $(RTOS): don't know how to test $(IDE) projects" >> test.log) || true
|
||||
$(BUILD) && rm -rf wizard*
|
||||
|
||||
wizard: FORCE
|
||||
|
||||
Reference in new issue
Block a user