poky/scripts/qemuimage-tests/toolchain/sudoku-savant
Jiajun Xu d08a341af7 qemuimagetest: update cvs and iptables to newer version for toolchain test
The old versions of cvs and iptables may meet compile error under some architecture
- cvs 1.11.23 fails on x86-64 host and iptables 1.4.9 fails on arm host. Update them
to latest version could solve these build error.
Meanwhile, 240s timeout is set for sudoku becasue 120s is not enough to finish
compile.

Signed-off-by Jiajun Xu <jiajun.xu@intel.com>

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:28:32 +01:00

763 B
Executable File

#!/bin/bash

sudoku-savant compile Test for toolchain test

The case extract toolchain tarball into temp folder

Then compile sudoku-savant with the toolchain environment

Author: Jiajun Xu jiajun.xu@intel.com

This file is licensed under the GNU General Public License,

Version 2.

. $COREBASE/scripts/qemuimage-testlib

TIMEOUT=240

Extract and test toolchain tarball

Test_Toolchain sudoku-savant ${TIMEOUT}

if [ $? -eq 0 ]; then Test_Info "sudoku-savant Test PASS" Test_Print_Result "sudoku-savant" 0 exit 0 elif [ $? -eq 1 ]; then Test_Info "sudoku-savant Test FAIL" Test_Print_Result "sudoku-savant" 1 exit 1 else Test_Info "Skip sudoku-savant Test due to some configuration problem" Test_Print_Result "sudoku-savant" 2 exit 2 fi