forked from cuberite/cuberite
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
11 changed files
with
79 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#! /bin/bash | ||
#!/bin/sh | ||
|
||
# This script runs Cuberite under helgrind | ||
# It expects valgrind to be normally installed and available | ||
# Note that this is for Linux only and debug-only, since it slows down MCS way too much | ||
|
||
valgrind --log-file=helgrind.log --suppressions=hg.supp --gen-suppressions=all --tool=helgrind -v ./Cuberite | ||
exec valgrind --log-file=helgrind.log --suppressions=hg.supp --gen-suppressions=all --tool=helgrind -v ./Cuberite |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#! /bin/bash | ||
#!/bin/sh | ||
|
||
# This script runs Cuberite under valgrind | ||
# It expects valgrind to be normally installed and available | ||
# Note that this is for Linux only and debug-only, since it slows down MCS way too much | ||
|
||
valgrind --log-file=valgrind.log --suppressions=vg.supp --tool=memcheck --leak-check=full --leak-resolution=high --show-reachable=yes --track-origins=yes -v ./Cuberite | ||
exec valgrind --log-file=valgrind.log --suppressions=vg.supp --tool=memcheck --leak-check=full --leak-resolution=high --show-reachable=yes --track-origins=yes -v ./Cuberite |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/sh | ||
|
||
echo "Collecting shell files, This may take a while ..." | ||
|
||
# For some reason shellcheck reports SC2016 for the '-exec sh ..' part, | ||
# even though that is not the case. | ||
# shellcheck disable=SC2016 | ||
SHELL_FILES=$(find . \ | ||
-type f \ | ||
\! \( -path './.git/*' -o -path './lib/*' -o -path './Server/Plugins/*' \) \ | ||
-exec sh -c 'head -n 1 "$1" | grep bin/sh>/dev/null' _ {} \; -print) | ||
|
||
# We actually need word splitting | ||
# shellcheck disable=SC2086 | ||
exec shellcheck --shell=sh $SHELL_FILES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/bin/bash | ||
#!/bin/sh | ||
/usr/bin/tolua++ -L BindingsProcessor.lua -o Bindings.cpp -H Bindings.h AllToLua.pkg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
#!/usr/bin/env bash | ||
#!/bin/sh | ||
|
||
if [ "$TRAVIS_CUBERITE_BUILD_TYPE" == "COVERAGE" ] | ||
if [ "$TRAVIS_CUBERITE_BUILD_TYPE" = "COVERAGE" ] | ||
then | ||
find tests -type f -name '*.gcda' -exec sh -c 'cp {} $(dirname {})/../$(basename {})' \; | ||
find tests -type f -name '*.gcda' -exec sh -c 'cp $1 $(dirname $1)/../$(basename $1)' _ {} \; | ||
coveralls --exclude lib --exclude Android >/dev/null | ||
fi | ||
|
||
|