benchmarks: factorize the `die()` function into `bench_common.sh`
[nit.git] / benchmarks / bench_nitunit.sh
index 53eb38c..23279f1 100755 (executable)
@@ -24,14 +24,6 @@ source ./bench_plot.sh
 # Can be overrided with 'the option -n'
 count=3
 
-### HELPER FUNCTIONS ##
-
-function die()
-{
-       echo >&2 "error: $*"
-       died=1
-}
-
 ## HANDLE OPTIONS ##
 
 function usage()