#!/bin/sh
OP="="
-. test.inc
+. ./test.inc
#!/bin/sh
OP=":="
-. test.inc
+. ./test.inc
#!/bin/sh
-source ../functions.sh
+. ../functions.sh
touch config.omk-default
echo "SUBDIRS $OP \$(ALL_OMK_SUBDIRS)" > Makefile.omk
#!/bin/sh
-source ../functions.sh
+. ../functions.sh
touch config.omk-default
#!/bin/sh
-source ../functions.sh
+. ../functions.sh
touch config.omk-default
# Exit on first error
set -e
-function findup() {
+findup() {
local arg="$1"
if test -z "$arg"; then return 1; fi
cd $wd
}
-function error() {
+error() {
echo $1 > _error
exit 1
}
-function canttest() {
+canttest() {
[ -f _canttest ] || echo $1 > _canttest
exit 1
}
#!/bin/sh
-source ../../functions.sh
+. ../../functions.sh
touch config.omk-default
make || exit 2
#!/bin/sh
-source ../../functions.sh
+. ../../functions.sh
make default-config || error "Can't run make default-config"
make include-pass || error "Can't run make include-pass"
-#!/bin/sh
+#!/bin/bash
-source ../../functions.sh
+. ../../functions.sh
make default-config || error default-config
#!/bin/sh
-source ../../functions.sh
+. ../../functions.sh
touch config.omk-default
make || exit 0 # It is OK to fail because of missing header file
#!/bin/sh
-source ../functions.sh
+. ../functions.sh
make|tee make.log
#!/bin/sh
-source ../functions.sh
+. ../functions.sh
OUTPUT=$(make 2>&1)
#!/bin/sh
-source ../functions.sh
+. ../functions.sh
touch config.omk-default
echo "CFLAGS=-DNUMBER=123" > config.omk
#!/bin/sh
-source ../functions.sh
+. ../functions.sh
touch config.omk-default
make CFLAGS="-DNONSENSE=abc -DNUMBER=123"||error "Can't compile"
#!/bin/sh
-source ../functions.sh
+. ../functions.sh
touch config.omk-default
echo "DEFS=-DNUMBER=123" > config.omk
#!/bin/sh
-source ../functions.sh
+. ../functions.sh
touch config.omk-default
rm -rf _compiled
#!/bin/sh
-source ../functions.sh
+. ../functions.sh
touch config.omk-default
QTDIR=/usr/share/qt4
#!/bin/sh
-source ../functions.sh
+. ../functions.sh
rm -f *.mark