diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2016-06-13 23:39:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-06-13 23:39:32 +0200 |
| commit | 509d54ee9e2977764ceb641a00747ec0b3ba090a (patch) | |
| tree | 2fc1324845be383eb95d04f854b61c4ac15c5682 | |
| parent | 933eaf7d86fea02b2cb9c0c5728ac3c82c6657a0 (diff) | |
| parent | 1219e753fbbc2eabd46b3cbff34c68e68db5f737 (diff) | |
| download | PROJ-509d54ee9e2977764ceb641a00747ec0b3ba090a.tar.gz PROJ-509d54ee9e2977764ceb641a00747ec0b3ba090a.zip | |
Merge pull request #392 from micahcochran/selftestexitcode
SELFTEST: Make proj -VC selftest return exit code of number of test failures.
| -rw-r--r-- | appveyor.yml | 5 | ||||
| -rw-r--r-- | src/proj.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml index 29b43760..9d1df0a5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -45,6 +45,11 @@ build_script: test_script: - echo test_script + - if "%BUILD_TYPE%" == "nmake" cd C:\PROJ\bin + - if "%BUILD_TYPE%" == "cmake" cd C:\projects\proj-4\bin + - echo "Contents of current directory:" + - dir + - proj.exe -VC deploy: off @@ -268,8 +268,7 @@ int main(int argc, char **argv) { bin_in = bin_out = 1; continue; case 'C': /* Check - run internal regression tests */ - pj_run_selftests (very_verby); - return 0; + return pj_run_selftests (very_verby); continue; case 'v': /* monitor dump of initialization */ mon = 1; |
