File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 6565# Report the current PHP version
6666echo " PHP: ` php --version | head -n 1` "
6767
68+ # If we're testing a specific version of libmongoc, update submodule sources
69+ if [ -n " $LIBMONGOC_VERSION " ]; then
70+ php scripts/update-submodule-sources.php
71+ fi
72+
6873phpize
6974./configure --enable-mongodb-developer-flags
7075
71- # If we're testing a specific version of libmongoc, regenerate the version file
76+ # configure relies on version information in libmongoc-version-current, but the target is not available until after calling configure
77+ # To work around this, run the make target, then run configure again
7278if [ -n " $LIBMONGOC_VERSION " ]; then
7379 make libmongoc-version-current
80+ ./configure --enable-mongodb-developer-flags
7481fi
7582
7683make test TESTS=" tests/smoketest.phpt"
You can’t perform that action at this time.
0 commit comments