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 65
65
# Report the current PHP version
66
66
echo " PHP: ` php --version | head -n 1` "
67
67
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
+
68
73
phpize
69
74
./configure --enable-mongodb-developer-flags
70
75
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
72
78
if [ -n " $LIBMONGOC_VERSION " ]; then
73
79
make libmongoc-version-current
80
+ ./configure --enable-mongodb-developer-flags
74
81
fi
75
82
76
83
make test TESTS=" tests/smoketest.phpt"
You can’t perform that action at this time.
0 commit comments