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
C
cduce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
19
Issues
19
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cduce
cduce
Commits
d10843ef
Commit
d10843ef
authored
Feb 25, 2014
by
Julien Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fixes for 4.01.0 compatibility
parent
121c4ae0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
10 deletions
+12
-10
ocaml
ocaml
+1
-1
ocamliface/Makefile
ocamliface/Makefile
+1
-1
tests/ocaml/check.sh
tests/ocaml/check.sh
+10
-8
No files found.
ocaml
@
35b00817
Compare
47c6b518
...
35b00817
Subproject commit
47c6b518b72f181f85a0a24ddfa91552bcdb2bc2
Subproject commit
35b008173b9a6af2ca3de5dacbc44367dbe6defc
ocamliface/Makefile
View file @
d10843ef
...
...
@@ -22,7 +22,7 @@ ocaml_files:
cp
location.ml ocaml_files/location.ml
cp
ocaml_files/asttypes.mli ocaml_files/asttypes.ml
sed
s
=
STDLIB
=
$(STDLIB)
=
config.ml
>
ocaml_files/config.ml
grep
cmi_magic
$(OCAML_SRC)
/utils/config.mlp
>>
ocaml_files/config.ml
grep
cmi_magic
$(OCAML_SRC)
/utils/config.mlp
|
head
-1
>>
ocaml_files/config.ml
caml_cduce.cmo
:
ocaml_files
@
echo
"Build
$@
"
...
...
tests/ocaml/check.sh
View file @
d10843ef
#!/bin/sh
ROOTDIR
=
$HOME
/cduce
/cduce-ocamlinterface
ROOTDIR
=
$HOME
/cduce
TESTDIR
=
$ROOTDIR
/tests/ocaml
TESTNOW
=
__testnow__
TESTREF
=
__testref__
ERRNOW
=
__
test
now__
ERRREF
=
__
test
ref__
ERRNOW
=
__
err
now__
ERRREF
=
__
err
ref__
TMPCDUCE
=
__tmpcduce__
echo
-n
"Building actual version..."
opam switch 4.0
0
.0
>
/dev/null 2> /dev/null
opam switch 4.0
1
.0
>
/dev/null 2> /dev/null
eval
`
opam config
env
`
cd
$ROOTDIR
/ocaml
git checkout 4.0
0
.0
>
/dev/null 2> /dev/null
git checkout 4.0
1
.0
>
/dev/null 2> /dev/null
cd
$ROOTDIR
make clean
>
/dev/null 2> /dev/null
git checkout ocamlinterface
>
/dev/null 2> /dev/null
...
...
@@ -43,13 +43,15 @@ diff $TESTNOW $TESTREF
if
[
$?
-eq
0
]
;
then
diff
$ERRNOW
$ERRREF
if
[
$?
-eq
0
]
;
then
echo
"
\0
33[32mSuccess!
\0
33[00m
"
echo
"
Success!
"
else
echo
"
\0
33[31mFail
\0
33[00m
"
echo
"
Fail
"
fi
else
echo
"
\n\0
33[31mFail
\0
33[00m
"
echo
"
Fail
"
fi
rm
-f
$TESTNOW
$TESTREF
$ERRNOW
$ERRREF
git checkout ocamlinterface
>
/dev/null 2> /dev/null
cd
$ROOTDIR
/ocaml
git checkout 4.01.0
>
/dev/null 2> /dev/null
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