1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/usr/bin/env bash
# Run your step here
pkg=$1
source $PREFIX/buildsetup.sh
# for pkg in lua52 im cd iup; do
# megatest -step $pkg :state start :status running
(cd $pkg/src;make)
# megatest -step $pkg :state end :status $?
# done
|
>
>
|
|
|
>
|
>
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/usr/bin/env bash
# Run your step here
pkg=$1
source $PREFIX/buildsetup.sh
export LUA_SUFFIX=
export LUA_INC=$MT_TEST_RUN_DIR/lua52/include
if [[ $pkg == "lua52" ]]; then
(cd $pkg/src;make $PLATFORM)
else
(cd $pkg/src;make)
fi
|