Skip to content

Commit

Permalink
Merge pull request #71 from nowsprinting/chore/fix_makefile
Browse files Browse the repository at this point in the history
Fix Makefile
  • Loading branch information
get-me-power authored Sep 24, 2024
2 parents 6ebf48c + 1a315ae commit 3b2a9db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PACKAGE_NAME?=$(shell grep -o -E '"name": "(.+)"' $(PACKAGE_HOME)/package.json |

# Code Coverage report filter (comma separated)
# see: https://docs.unity3d.com/Packages/[email protected]/manual/CoverageBatchmode.html
PACKAGE_ASSEMBLIES?=$(shell echo $(shell find $(PACKAGE_HOME) -name "*.asmdef" -maxdepth 3 | sed -e s/.*\\//\+/ | sed -e s/\\.asmdef// | sed -e s/^.*\\.Tests//) | sed -e s/\ /,/g)
PACKAGE_ASSEMBLIES?=$(shell echo $(shell find $(PACKAGE_HOME) -name "*.asmdef" | grep -v -E "\/UnityProject~\/" | sed -e s/.*\\//\+/ | sed -e s/\\.asmdef// | sed -e s/^.*\\.Tests//) | sed -e s/\ /,/g)
COVERAGE_ASSEMBLY_FILTERS?=$(PACKAGE_ASSEMBLIES),+<assets>,-*.Tests

UNAME := $(shell uname)
Expand All @@ -27,7 +27,7 @@ endef

define base_arguments
-projectPath $(PROJECT_HOME) \
-logFile $(LOG_DIR)/test_$(TEST_PLATFORM).log
-logFile $(LOG_DIR)/$(TEST_PLATFORM).log
endef

define test_arguments
Expand All @@ -37,7 +37,7 @@ define test_arguments
-runTests \
-testCategory "!IgnoreCI" \
-testPlatform $(TEST_PLATFORM) \
-testResults $(LOG_DIR)/test_$(TEST_PLATFORM)_results.xml \
-testResults $(LOG_DIR)/$(TEST_PLATFORM)-results.xml \
-testHelperScreenshotDirectory $(LOG_DIR)/Screenshots
endef

Expand Down

0 comments on commit 3b2a9db

Please sign in to comment.