Skip to content

Commit

Permalink
dot/doh: enable ios and android tests (verified)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilledheart committed Apr 24, 2024
1 parent 261a45f commit 1ab38a4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/releases-android-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ jobs:
bwrap --die-with-parent --bind $SYSROOT / \
--ro-bind /sys /sys \
--proc /proc --dev /dev \
--unshare-all \
--unshare-all --share-net \
--bind $PWD/build-android${{ matrix.apilevel }}-${{ matrix.arch }} /data/local/tmp \
/data/local/tmp/yass_test
- name: Run tests (non x86, under qemu emulation)
Expand Down
4 changes: 0 additions & 4 deletions src/net/doh_resolver_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@
#include "net/doh_resolver.hpp"
#include "test_util.hpp"

#if BUILDFLAG(IS_IOS) || BUILDFLAG(IS_ANDROID)
ABSL_FLAG(bool, no_doh_tests, true, "skip doh tests");
#else
ABSL_FLAG(bool, no_doh_tests, false, "skip doh tests");
#endif

using namespace net;

Expand Down
4 changes: 0 additions & 4 deletions src/net/dot_resolver_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@
#include "net/dot_resolver.hpp"
#include "test_util.hpp"

#if BUILDFLAG(IS_IOS) || BUILDFLAG(IS_ANDROID)
ABSL_FLAG(bool, no_dot_tests, true, "skip dot tests");
#else
ABSL_FLAG(bool, no_dot_tests, false, "skip dot tests");
#endif

using namespace net;

Expand Down

0 comments on commit 1ab38a4

Please sign in to comment.