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
605 B
Bash
25 lines
605 B
Bash
#!/bin/sh
|
|
|
|
echo "############ Running Wolfssl Ptest ##########"
|
|
|
|
log_file=ptest.log
|
|
temp_dir=$(mktemp -d /tmp/wolfss_temp.XXXXXX)
|
|
echo "Wolfssl ptest logs are stored in ${temp_dir}/${log_file}"
|
|
|
|
./test/unit.test > "$temp_dir/$log_file" 2>&1
|
|
|
|
echo "Test script returned: $?"
|
|
|
|
MAGIC_SENTENCE=$(grep "unit_test: Success for all configured tests." $temp_dir/$log_file)
|
|
|
|
if [ -n "$MAGIC_SENTENCE" ]; then
|
|
echo "$MAGIC_SENTENCE"
|
|
echo "PASS: Wolfssl"
|
|
else
|
|
echo "#### Issue with at least one test !####"
|
|
echo "FAIL: Wolfssl"
|
|
fi
|
|
NUM_FAILS=$(grep -c "Failed" $temp_dir/$log_file)
|
|
|
|
exit $NUM_FAILS
|