Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and meta-openwrt into a single repository. Components: - poky/ Yocto core framework (BitBake + OE-Core) - meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking) - meta-openwrt/ OpenWrt customization layer - setup-env.sh One-click build environment setup - README.md Project documentation
25 lines
374 B
Bash
25 lines
374 B
Bash
#!/bin/sh
|
|
|
|
cd tests
|
|
|
|
retval=0
|
|
for t in mtest*
|
|
do
|
|
mkdir testdb
|
|
./$t > /dev/null && ./mdb_stat testdb > /dev/null
|
|
if [ $? -ne 0 ]; then
|
|
echo "FAIL: $t"
|
|
retval=$(( ${retval} + 1))
|
|
else
|
|
echo "PASS: $t"
|
|
fi
|
|
rm -rf testdb
|
|
done
|
|
|
|
if [ $retval -eq 0 ] ; then
|
|
echo "PASS: lmdb"
|
|
else
|
|
echo "FAIL: lmdb"
|
|
fi
|
|
|
|
exit $retval |