diff options
author | Benjamin Barenblat <bbaren@google.com> | 2020-12-01 12:38:00 -0500 |
---|---|---|
committer | Benjamin Barenblat <bbaren@google.com> | 2020-12-01 12:38:00 -0500 |
commit | 9b6a5ce8ea7098c497076ccbfd64fa4299351f28 (patch) | |
tree | 3c62b87ab8b273bc570f8384adfcefc1425ff851 /debian/rules | |
parent | a920f20a23e0441cd121aca0ce8bbdfae7025810 (diff) |
Reenable unit tests20200923.2-2
Now that https://bugs.debian.org/970943 has been resolved and a new Git
snapshot of googletest has made it to testing, reenable Abseil unit
tests and run them as part of the build process. This does not change
the package as viewed by dependents; it only provides greater assurance
of correctness when an upload occurs. (It probably would have caught
http://bugs.debian.org/973492, for instance.)
Run the tests against the shared libraries, not the static ones, to
more accurately simulate the conditions under which dependents are
likely to use Abseil.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index c6c94e3c..859e20ba 100755 --- a/debian/rules +++ b/debian/rules @@ -24,12 +24,15 @@ override_dh_auto_clean: override_dh_auto_configure: dh_auto_configure -Bstatic -- -DCMAKE_CXX_STANDARD=14 -DBUILD_SHARED_LIBS=OFF - dh_auto_configure -Bshared -- -DCMAKE_CXX_STANDARD=14 -DBUILD_SHARED_LIBS=ON + dh_auto_configure -Bshared -- -DCMAKE_CXX_STANDARD=14 -DBUILD_SHARED_LIBS=ON -DABSL_RUN_TESTS=ON -DABSL_USE_GOOGLETEST_HEAD=OFF override_dh_auto_build: dh_auto_build -Bstatic dh_auto_build -Bshared +override_dh_auto_test: + dh_auto_test -Bshared + override_dh_auto_install: dh_auto_install -Bstatic dh_auto_install -Bshared |