Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion coq/extracted/patch.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
#!/usr/bin/env -S bash -euo pipefail
patch -p0 -r 0 -s --read-only=ignore --follow-symlinks -o - $1 -i extracted/CRelationClasses.mli.patch

2 changes: 1 addition & 1 deletion docker_entry_point.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
#!/usr/bin/env -S bash -euo pipefail
eval `opam env` && $*
2 changes: 1 addition & 1 deletion public/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env -S bash -euo pipefail

## This script deploy Cerberus UI and send it to the server
## PS: only works in my machine due to SSH credentials
Expand Down
2 changes: 1 addition & 1 deletion tests/bmc/run_bmc_tests_slow.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
#!/usr/bin/env -S bash -euo pipefail
./run_bmc_tests.ml --check-rcu
2 changes: 1 addition & 1 deletion tests/common.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env -S bash -euo pipefail

# Sets the CERB and CERB_INSTALL_PREFIX variables for a given backend
# (given in $1).
Expand Down
2 changes: 1 addition & 1 deletion tests/csmith/small_arrays/gen.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env -S bash -euo pipefail

GENOPTS="\
--no-pointers \
Expand Down
2 changes: 1 addition & 1 deletion tests/csmith/small_int_arith/gen.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env -S bash -euo pipefail

GENOPTS="\
--no-arrays \
Expand Down
2 changes: 1 addition & 1 deletion tests/csmith/small_mix/gen.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env -S bash -euo pipefail

GENOPTS="\
--argc \
Expand Down
2 changes: 1 addition & 1 deletion tests/csmith/tools/run_compare.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env -S bash -euo pipefail

gtimeout 10s clang -DCSMITH_MINIMAL -I ../runtime -w -o compare.out $@ && ./compare.out
gtimeout 30s cerberus --cpp="cc -E -nostdinc -undef -D__cerb__ -I $CERB_PATH/include/c/libc -I $CERB_PATH/include/c/posix -DCSMITH_MINIMAL -I ../runtime" --exec --batch $@
Expand Down
2 changes: 1 addition & 1 deletion tests/gcc-torture/breakdown/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env -S bash -euo pipefail

SUCCESS=$(git ls-files success/*.c | wc -l)
LIMBUS=$(git ls-files limbus/*.c | wc -l)
Expand Down
2 changes: 1 addition & 1 deletion tests/gcc-torture/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env -S bash -euo pipefail

rm -rf tmp
mkdir -p tmp
Expand Down
2 changes: 1 addition & 1 deletion tests/hacl-star/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env -S bash -euo pipefail
#gcc -fPIC -Wall -Wextra -Wno-parentheses -Wno-unused compact/*.c minimal/*.c -I. -Iinclude -Icompact -Iminimal -shared -olibhacl.so -Xlinker -z -Xlinker noexecstack -Xlinker --unresolved-symbols=report-all

CERBERUS="../../_build/default/backend/driver/main.exe"
Expand Down
2 changes: 1 addition & 1 deletion tests/popl/cppmem/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env -S bash -euo pipefail

time ../../../cerbcore --impl gcc_4.9.0_x86_64-apple-darwin10.8.0 [email protected] > [email protected]
dot -Tpdf [email protected] > [email protected]
2 changes: 1 addition & 1 deletion tests/popl/section4/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env -S bash -euo pipefail

time ../../../cerbcore --impl gcc_4.9.0_x86_64-apple-darwin10.8.0 [email protected] > [email protected]
dot -Tpdf [email protected] > [email protected]
2 changes: 1 addition & 1 deletion tests/run-cheri.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env -S bash -euo pipefail

TESTSDIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd ${TESTSDIR}
Expand Down
2 changes: 1 addition & 1 deletion tests/run-ci.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env -S bash -euo pipefail

TESTSDIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd ${TESTSDIR}
Expand Down
2 changes: 1 addition & 1 deletion tests/run-core.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env -S bash -euo pipefail
# This script tests if Core pretty printer and parse coincide!

function report {
Expand Down
2 changes: 1 addition & 1 deletion tests/run-ocaml.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env -S bash -euo pipefail

source tests.sh

Expand Down
2 changes: 1 addition & 1 deletion tests/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env -S bash -euo pipefail

export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:`ocamlfind query z3`
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`ocamlfind query z3`
Expand Down
2 changes: 1 addition & 1 deletion tests/run_tcc.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env -S bash -euo pipefail

trap ctrl_c INT
function ctrl_c() {
Expand Down
2 changes: 1 addition & 1 deletion tests/tests-cheri.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bash
#!/usr/bin/env -S bash -euo pipefail

citests=(
0001-emptymain.c
Expand Down
2 changes: 1 addition & 1 deletion tests/tests.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bash
#!/usr/bin/env -S bash -euo pipefail

citests=(
0001-emptymain.c
Expand Down
2 changes: 1 addition & 1 deletion tools/colours.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env -S bash -euo pipefail

if [[ "$OSTYPE" == "linux-gnu" ]]; then
$@
Expand Down
2 changes: 1 addition & 1 deletion tools/hack.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env -S bash -euo pipefail

for f in _lem/*.lem
do
Expand Down
2 changes: 1 addition & 1 deletion tools/jenkins.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env -S bash -euo pipefail

export CERB_PATH=/local/jenkins/home/workspace/rems/cerberus
export DEPPATH=$CERB_PATH/dependencies
Expand Down
2 changes: 1 addition & 1 deletion tools/load-wg14.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env -S bash -euo pipefail

#DIR=/home/jm/work/wg14
DIR=/home/pes20/tmp/wg14
Expand Down
2 changes: 1 addition & 1 deletion tools/mysloc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env -S bash -euo pipefail
echo $@
rm -rf tmp-los/*
cp $@ tmp-los
Expand Down
2 changes: 1 addition & 1 deletion tools/tex.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env -S bash -euo pipefail

for FILE in "$@"
do
Expand Down