mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-15 08:06:03 +00:00
* Backport 2 patches [1] [2] to fix the build failure under tests dir. * Fetch the test data during do_fetch phase to avoid internet access during test as some tests need test data. # ./run-ptest PASS: test-algorithms_cpp11 PASS: test-allocator_cpp11 PASS: test-alt-string_cpp11 PASS: test-assert_macro_cpp11 PASS: test-binary_formats_cpp11 [snip] PASS: test-unicode5_cpp11 PASS: test-user_defined_input_cpp11 PASS: test-windows_h_cpp11 PASS: test-wstring_cpp11 [1]6cec5aefc9[2]660d0b5856Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 lines
204 B
Bash
Executable File
13 lines
204 B
Bash
Executable File
#!/bin/sh
|
|
|
|
cd tests
|
|
for atest in test-* ; do
|
|
rm -rf tests.log
|
|
./${atest} > tests.log 2>&1
|
|
if [ $? = 0 ] ; then
|
|
echo "PASS: ${atest}"
|
|
else
|
|
echo "FAIL: ${atest}"
|
|
fi
|
|
done
|