Skip to content
Merged
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 build-all.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/bash
#!/usr/bin/env bash

set -euxo pipefail

Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#/bin/bash -e
#/usr/bin/env bash -e
make clean
./build64.sh
./build32.sh
2 changes: 1 addition & 1 deletion build32-eh.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -Eeuxo pipefail

PIC=OFF EH=ON EXNREF_EH=OFF bash build32-general.sh
2 changes: 1 addition & 1 deletion build32-ehpic.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -Eeuxo pipefail

PIC=ON EH=ON EXNREF_EH=OFF bash build32-general.sh
2 changes: 1 addition & 1 deletion build32-exnref-eh.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -Eeuxo pipefail

PIC=OFF EH=ON EXNREF_EH=ON bash build32-general.sh
2 changes: 1 addition & 1 deletion build32-exnref-ehpic.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -Eeuxo pipefail

PIC=ON EH=ON EXNREF_EH=ON bash build32-general.sh
2 changes: 1 addition & 1 deletion build32-general.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -Eeuxo pipefail

### Determine build configuration
Expand Down
2 changes: 1 addition & 1 deletion build32.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -Eeuxo pipefail

PIC=OFF EH=OFF bash build32-general.sh
2 changes: 1 addition & 1 deletion build64.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -Eeuxo pipefail

Expand Down
2 changes: 1 addition & 1 deletion check-eh-type.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# check-eh-type.sh - Detect whether a WebAssembly sysroot uses legacy or new exception handling
#
Expand Down
4 changes: 2 additions & 2 deletions clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/bash
#!/usr/bin/env bash

make clean
rm -rf ./build/*
rm -rf ./build/*
2 changes: 1 addition & 1 deletion take-expected.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#/bin/bash -e
#!/usr/bin/env bash -e
cp -f sysroot/share/wasm32-wasi/defined-symbols.txt expected/wasm32-wasi/defined-symbols.txt
cp -f sysroot/share/wasm32-wasi/include-all.c expected/wasm32-wasi/include-all.c
cp -f sysroot/share/wasm32-wasi/predefined-macros.txt expected/wasm32-wasi/predefined-macros.txt
Expand Down
2 changes: 1 addition & 1 deletion test/wasix/c_pthreads/test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

tmpfile=$(mktemp)
wasmer run --verbose --enable-all ./main > $tmpfile
Expand Down
2 changes: 1 addition & 1 deletion test/wasix/cpp_atomic/test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

wasmer run --verbose --enable-all ./main
RESULT=$?
Expand Down
2 changes: 1 addition & 1 deletion test/wasix/cpp_executable/test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

wasmer run --verbose --enable-all ./main
RESULT=$?
Expand Down
2 changes: 1 addition & 1 deletion test/wasix/cpp_iostream/test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

wasmer run --verbose --enable-all ./main
RESULT=$?
Expand Down
2 changes: 1 addition & 1 deletion test/wasix/cpp_threads/test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

tmpfile=$(mktemp)
wasmer run --verbose --enable-all ./main > $tmpfile
Expand Down
2 changes: 1 addition & 1 deletion test/wasix/run_tests.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
SCRIPT_DIR=$(dirname "$(readlink -f "$0")")
BUILD_DIR=$SCRIPT_DIR/../../test-builds
TESTS=
Expand Down
Loading