Skip to content

Commit 1c42822

Browse files
authored
Update build_py.sh
1 parent 0d3ff8c commit 1c42822

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

recipe/build_py.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ cmake ${CMAKE_ARGS} -GNinja .. \
2222
ninja -v
2323
cmake --build . --config Release --target install
2424

25-
if [[ "${CONDA_BUILD_CROSS_COMPILATION:-}" != "1" || "${CROSSCOMPILING_EMULATOR:-}" != "" ]]; then
25+
if [[ "${CONDA_BUILD_CROSS_COMPILATION:-}" != "1" ]]; then
2626
# Tests are not installed, so we run them during the build
2727
# We run them directly via pytest so we detect if we are not compiling some required components
2828
cd ..
29-
${CROSSCOMPILING_EMULATOR} pytest -v -k "not (test_load_from_file or test_fixed_foot_detector)"
29+
pytest -v -k "not (test_load_from_file or test_fixed_foot_detector)"
3030
fi

0 commit comments

Comments
 (0)