Break long lines in Inria CI scripts
It's tricky to do this elegantly in sh, sadly...master
parent
29423a3f76
commit
4c3c7fda25
|
@ -64,9 +64,11 @@ change_exe_magic_number() {
|
|||
new="$1"
|
||||
echo Changing executable magic number from ${old} to ${new}
|
||||
# Change magic number in byterun/caml/exec.h
|
||||
sed -i 's/\x23define \+EXEC_MAGIC \+\x22'${old}'\x22/#define EXEC_MAGIC "'${new}'"/' byterun/caml/exec.h
|
||||
sed -i 's/\x23define \+EXEC_MAGIC \+\x22'${old}\
|
||||
'\x22/#define EXEC_MAGIC "'${new}'"/' byterun/caml/exec.h
|
||||
# Change magic number in utils/config.mlp
|
||||
sed -i 's/let \+exec_magic_number \+= \+\x22'${old}'\x22/let exec_magic_number = "'${new}'"/' utils/config.mlp
|
||||
sed -i 's/let \+exec_magic_number \+= \+\x22'${old}\
|
||||
'\x22/let exec_magic_number = "'${new}'"/' utils/config.mlp
|
||||
}
|
||||
|
||||
remove_primitive()
|
||||
|
|
|
@ -21,7 +21,8 @@
|
|||
# In this context, it is necessary to skip a few tests whose behaviour
|
||||
# is modified by the instrumentation:
|
||||
|
||||
export OCAMLTEST_SKIP_TESTS="tests/afl-instrumentation/afltest.ml tests/runtime-errors/stackoverflow.ml"
|
||||
export OCAMLTEST_SKIP_TESTS="tests/afl-instrumentation/afltest.ml \
|
||||
tests/runtime-errors/stackoverflow.ml"
|
||||
|
||||
# To know the slave's architecture, this script looks at the OCAML_ARCH
|
||||
# environment variable. For a given node NODe, this variable can be defined
|
||||
|
|
Loading…
Reference in New Issue