g++ $RECIPE_DIR/test.cpp -I$PREFIX/include  -L$PREFIX/lib -o test
[ $(./test) != "$PKG_VERSION" ] && exit 1

[ $(python -c 'import cv2; print(cv2.__version__)') != "$PKG_VERSION" ] && exit 1


g++ $RECIPE_DIR/test.cpp -I$PREFIX/include  -L$PREFIX/lib -o test
[ $(./test) != "$PKG_VERSION" ] && exit 1

[ $($PYTHON -c 'import cv2; print(cv2.__version__)') != "$PKG_VERSION" ] && exit 1

Use $PYTHON in test rather than python
Use $PYTHON in test rather than python

But this seems to fail on my Mac because $PYTHON points to
_build rather than _test !!??
