Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
memsharded committed Oct 28, 2023
1 parent b3482e1 commit 58f1653
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions example/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CMakeCache.txt
CMakeFiles
4 changes: 2 additions & 2 deletions tests/test_smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,12 +456,12 @@ def test_android_x86(self, capfd, chdir_build):
"Building for Android x86"
run("cmake .. --fresh -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=conan_provider.cmake -G Ninja -DCMAKE_BUILD_TYPE=Release "
f"-DCMAKE_TOOLCHAIN_FILE={os.environ['ANDROID_NDK_ROOT']}/build/cmake/android.toolchain.cmake "
"-DANDROID_ABI=x86 -DANDROID_STL=c++_shared -DANDROID_PLATFORM=19")
"-DANDROID_ABI=x86 -DANDROID_STL=c++_shared -DANDROID_PLATFORM=22")
out, _ = capfd.readouterr()
assert "arch=x86" in out
assert "compiler.libcxx=c++_shared" in out
assert "os=Android" in out
assert "os.api_level=19" in out
assert "os.api_level=22" in out
assert "tools.android:ndk_path=" in out


Expand Down

0 comments on commit 58f1653

Please sign in to comment.