Commit 4c0bcfc8 authored by Emmanuel Promayon's avatar Emmanuel Promayon

UPDATED cepgenerator bash trying to take into account win7 specificities

parent d8181ead
......@@ -128,8 +128,10 @@ else
fi
# check if current build is on windows debug version
echo "===== Checking camitk-cepgenerator binary ($camitkGenerator) ====="
if [ ! -f $camitkGenerator ]; then
os=$(uname -a | cut -f1 -d"_")
echo "===== Checking OS ($os) ====="
if [ "$os" == "MINGW64" ]; then
# try with debug postfix
camitkGenerator=$camitkGenerator-debug
......@@ -503,9 +505,9 @@ cat <<EOF > empty.xml
</cep>
EOF
# ---------------------- complete-test-1.xml ----------------------
# ---------------------- completeTest1.xml ----------------------
# Example taken from distributed source ./sdk/libraries/cepcoreschema/testdata/complete-test-1.xml
cat <<EOF > complete-test-1.xml
cat <<EOF > completeTest1.xml
<?xml version="1.0" encoding="utf-8"?>
<cep xmlns="http://camitk.imag.fr/cepcoreschema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://camitk.imag.fr/cepcoreschema Cep.xsd">
<name>Complete test CEP 1</name>
......@@ -775,7 +777,7 @@ testcepfile() {
# --------------------------------------------------------------------------
#testcepfile cep.xml nrOfExcpectedNewExtensions
testcepfile complete-test-1.xml 3 testlib
testcepfile completeTest1.xml 3 testlib
testcepfile exampleComponents.xml 2
testcepfile actionsExamplesLicence.xml 2
testcepfile actionsExamplesNoLicence.xml 2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment