Skip to content

Commit

Permalink
Enable config tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdlime committed Feb 16, 2022
1 parent b16ac2a commit 366a370
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ warning:
api-testcase:
cd msautotest/api && rm -f result/* && export PATH=$(BUILDPATH):$(PATH) && (./run_test.py $(AUTOTEST_OPTS) || /bin/true)

config-testcase:
cd msautotest/config && rm -f result/* && export PATH=$(BUILDPATH):$(PATH) && (./run_test.py $(AUTOTEST_OPTS) || /bin/true)

wxs-testcase:
cd msautotest/wxs && chmod 777 tmp && rm -f result/* && export PATH=$(BUILDPATH):$(PATH) && (./run_test.py $(AUTOTEST_OPTS) || /bin/true)

Expand Down Expand Up @@ -76,14 +79,14 @@ perl-testcase:


test: cmakebuild
@$(MAKE) $(MFLAGS) api-testcase wxs-testcase renderers-testcase misc-testcase gdal-testcase query-testcase sld-testcase mspython-testcase
@$(MAKE) $(MFLAGS) api-testcase config-testcase wxs-testcase renderers-testcase misc-testcase gdal-testcase query-testcase sld-testcase mspython-testcase
@./print-test-results.sh
@$(MAKE) $(MFLAGS) php-testcase
@$(MAKE) $(MFLAGS) csharp-testcase
@$(MAKE) $(MFLAGS) perl-testcase

asan_compatible_tests: cmakebuild
@$(MAKE) $(MFLAGS) api-testcase wxs-testcase renderers-testcase misc-testcase gdal-testcase query-testcase sld-testcase
@$(MAKE) $(MFLAGS) api-testcase config-testcase wxs-testcase renderers-testcase misc-testcase gdal-testcase query-testcase sld-testcase
@./print-test-results.sh

lexer: maplexer.c
Expand Down
2 changes: 1 addition & 1 deletion msautotest/pytest.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[pytest]
python_files = *.py
testpaths = api misc gdal query renderers wxs sld mspython
testpaths = api config misc gdal query renderers wxs sld mspython
norecursedirs = php mssql
env =
MAPSERVER_CONFIG_FILE=../etc/mapserv.conf

0 comments on commit 366a370

Please sign in to comment.