diff options
author | Matthieu Longo <mateo.longo@gmail.com> | 2018-09-24 10:28:16 +0200 |
---|---|---|
committer | Matthieu Longo <matthieu.longo@murex.com> | 2018-09-24 10:28:16 +0200 |
commit | 0e161c3c8bdd448f478953a79210df43650af820 (patch) | |
tree | 4fe879a238379718bee8baa32baca1aab068ccae /appveyor.yml | |
parent | ed6e84ccef7f3c0f31caca60a47077a46d72a806 (diff) | |
download | googletest-0e161c3c8bdd448f478953a79210df43650af820.zip googletest-0e161c3c8bdd448f478953a79210df43650af820.tar.gz googletest-0e161c3c8bdd448f478953a79210df43650af820.tar.bz2 |
[mingw] enable the unittests for gmock and gtest again
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml index 1e3102e..bcc1c4d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -67,8 +67,8 @@ build_script: $conf = if ($env:generator -eq "MinGW Makefiles") {"-DCMAKE_BUILD_TYPE=$env:configuration"} else {"-DCMAKE_CONFIGURATION_TYPES=Debug;Release"} # Disable test for MinGW (gtest tests fail, gmock tests can not build) - $gtest_build_tests = if ($env:generator -eq "MinGW Makefiles") {"-Dgtest_build_tests=OFF"} else {"-Dgtest_build_tests=ON"} - $gmock_build_tests = if ($env:generator -eq "MinGW Makefiles") {"-Dgmock_build_tests=OFF"} else {"-Dgmock_build_tests=ON"} + $gtest_build_tests = "-Dgtest_build_tests=ON" + $gmock_build_tests = "-Dgmock_build_tests=ON" & cmake -G "$env:generator" $conf -Dgtest_build_samples=ON $gtest_build_tests $gmock_build_tests .. if ($LastExitCode -ne 0) { throw "Exec: $ErrorMessage" |