Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Ocarina
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
TASTE
Ocarina
Commits
82128d09
Commit
82128d09
authored
Nov 30, 2015
by
Jerome Hugues
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Do not compile example on Windows platform
parent
f7d55312
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
46 deletions
+56
-46
autotest.sh
autotest.sh
+56
-46
No files found.
autotest.sh
View file @
82128d09
...
...
@@ -423,55 +423,65 @@ if test ${dotests} = "true" ; then
else
total
=
`
expr
${
total
}
+ 1
`
if
test
-r
${
gprfile
}
;
then
ocarina_gpr
=
"
`
ocarina-config
--projects
`
"
command
=
"gnatmake -P
\"
`
${
path_conv
}
${
gprfile
}
`
\"
-aP
${
ocarina_gpr
}
-XOBJ_DIR=
\"
`
${
path_conv
}
${
tmpdir
}
`
\"
"
ADA_PROJECT_PATH
=
"
${
ocarina_gpr
}${
path_sep
}${
ADA_PROJECT_PATH
}
"
\
gnatmake
-P
"
`
${
path_conv
}
${
gprfile
}
`
"
-aP
${
ocarina_gpr
}
\
-XOBJ_DIR
=
"
`
${
path_conv
}
${
tmpdir
}
`
"
\
>
${
actual_output
}
2>&1
else
command
=
"gnatmake '
`
${
path_conv
}
${
file
}
`
'
`
ocarina-config
`
"
gnatmake
"
`
${
path_conv
}
${
file
}
`
"
`
ocarina-config
`
\
>
${
actual_output
}
2>&1
fi
if
test
$?
!=
0
;
then
failed
${
entry
}
\
"
${
command
}
"
\
""
\
"
${
actual_output
}
"
failures
=
`
expr
${
failures
}
+ 1
`
else
./
`
basename
${
file
}
.adb
`
>
${
actual_output
}
2>&1
command
=
"./
`
basename
${
file
}
.adb
`
"
result
=
$?
if
test
-r
${
expected_output
}
;
then
${
scriptdir
}
/tools/compare.py
\
${
expected_output
}
\
${
actual_output
}
>
/dev/null
result
=
$?
fi
;
if
test
${
result
}
!=
0
;
then
if
test
-r
${
expected_output
}
;
then
failed
${
entry
}
\
"
${
command
}
"
\
${
expected_output
}
\
${
actual_output
}
case
"
$(
uname
-s
)
"
in
CYGWIN
*
|
MINGW32
*
|
MSYS
*
)
ignored
${
entry
}
;;
*
)
if
test
-r
${
gprfile
}
;
then
ocarina_gpr
=
"
`
ocarina-config
--projects
`
"
command
=
"gnatmake -P
\"
`
${
path_conv
}
${
gprfile
}
`
\"
-aP
${
ocarina_gpr
}
-XOBJ_DIR=
\"
`
${
path_conv
}
${
tmpdir
}
`
\"
"
ADA_PROJECT_PATH
=
"
${
ocarina_gpr
}${
path_sep
}${
ADA_PROJECT_PATH
}
"
\
gnatmake
-P
"
`
${
path_conv
}
${
gprfile
}
`
"
-aP
${
ocarina_gpr
}
\
-XOBJ_DIR
=
"
`
${
path_conv
}
${
tmpdir
}
`
"
\
>
${
actual_output
}
2>&1
else
failed
${
entry
}
\
"
${
command
}
"
command
=
"gnatmake '
`
${
path_conv
}
${
file
}
`
'
`
ocarina-config
`
"
gnatmake
"
`
${
path_conv
}
${
file
}
`
"
`
ocarina-config
`
\
>
${
actual_output
}
2>&1
fi
failures
=
`
expr
${
failure
}
+ 1
`
else
passed
${
entry
}
fi
fi
if
test
$?
!=
0
;
then
failed
${
entry
}
\
"
${
command
}
"
\
""
\
"
${
actual_output
}
"
failures
=
`
expr
${
failures
}
+ 1
`
else
./
`
basename
${
file
}
.adb
`
>
${
actual_output
}
2>&1
command
=
"./
`
basename
${
file
}
.adb
`
"
result
=
$?
if
test
-r
${
expected_output
}
;
then
${
scriptdir
}
/tools/compare.py
\
${
expected_output
}
\
${
actual_output
}
>
/dev/null
result
=
$?
fi
;
if
test
${
result
}
!=
0
;
then
if
test
-r
${
expected_output
}
;
then
failed
${
entry
}
\
"
${
command
}
"
\
${
expected_output
}
\
${
actual_output
}
else
failed
${
entry
}
\
"
${
command
}
"
fi
failures
=
`
expr
${
failure
}
+ 1
`
else
passed
${
entry
}
fi
fi
;;
esac
fi
done
done
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment