summaryrefslogtreecommitdiffstats
path: root/scripts/qemuimage-tests/toolchain/sudoku-savant
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/qemuimage-tests/toolchain/sudoku-savant')
-rw-r--r--scripts/qemuimage-tests/toolchain/sudoku-savant31
1 files changed, 31 insertions, 0 deletions
diff --git a/scripts/qemuimage-tests/toolchain/sudoku-savant b/scripts/qemuimage-tests/toolchain/sudoku-savant
new file mode 100644
index 0000000000..603afe63ee
--- /dev/null
+++ b/scripts/qemuimage-tests/toolchain/sudoku-savant
@@ -0,0 +1,31 @@
1#!/bin/bash
2#
3# sudoku-savant compile Test for toolchain test
4# The case extract toolchain tarball into temp folder
5# Then compile sudoku-savant with the toolchain environment
6#
7# Author: Jiajun Xu <jiajun.xu@intel.com>
8#
9# This file is licensed under the GNU General Public License,
10# Version 2.
11#
12. $COREBASE/scripts/qemuimage-testlib
13
14TIMEOUT=120
15
16# Extract and test toolchain tarball
17Test_Toolchain sudoku-savant ${TIMEOUT}
18
19if [ $? -eq 0 ]; then
20 Test_Info "sudoku-savant Test PASS"
21 Test_Print_Result "sudoku-savant" 0
22 exit 0
23elif [ $? -eq 1 ]; then
24 Test_Info "sudoku-savant Test FAIL"
25 Test_Print_Result "sudoku-savant" 1
26 exit 1
27else
28 Test_Info "Skip sudoku-savant Test due to some configuration problem"
29 Test_Print_Result "sudoku-savant" 2
30 exit 2
31fi