Skip to content

Commit

Permalink
[Benchmark] fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
KihongHeo committed Aug 19, 2020
1 parent 4496c2b commit 490ae19
Show file tree
Hide file tree
Showing 18 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion benchmark/bzip2-1.0.5/merged/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ ORIGIN_BIN=$(NAME).origin
SRC=$(NAME).c
ORACLE=test.sh

include ../target.mk
include ../../target.mk
2 changes: 1 addition & 1 deletion benchmark/bzip2-1.0.5/merged/test.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

export BENCHMARK_NAME=bzip2-1.0.5
export BENCHMARK_DIR=$CHISEL_BENCHMARK_HOME/benchmark/$BENCHMARK_NAME
export BENCHMARK_DIR=$CHISEL_BENCHMARK_HOME/benchmark/$BENCHMARK_NAME/merged
export SRC=$BENCHMARK_DIR/$BENCHMARK_NAME.c
export ORIGIN_BIN=$BENCHMARK_DIR/$BENCHMARK_NAME.origin
export REDUCED_BIN=$BENCHMARK_DIR/$BENCHMARK_NAME.reduced
Expand Down
2 changes: 1 addition & 1 deletion benchmark/chown-8.2/merged/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ ORIGIN_BIN=$(NAME).origin
SRC=$(NAME).c
ORACLE=test.sh

include ../target.mk
include ../../target.mk
2 changes: 1 addition & 1 deletion benchmark/chown-8.2/merged/test.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

export BENCHMARK_NAME=chown-8.2
export BENCHMARK_DIR=$CHISEL_BENCHMARK_HOME/benchmark/$BENCHMARK_NAME
export BENCHMARK_DIR=$CHISEL_BENCHMARK_HOME/benchmark/$BENCHMARK_NAME/merged
export SRC=$BENCHMARK_DIR/$BENCHMARK_NAME.c
export ORIGIN_BIN=$BENCHMARK_DIR/$BENCHMARK_NAME.origin
export REDUCED_BIN=$BENCHMARK_DIR/$BENCHMARK_NAME.reduced
Expand Down
2 changes: 1 addition & 1 deletion benchmark/date-8.21/merged/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ ORIGIN_BIN=$(NAME).origin
SRC=$(NAME).c
ORACLE=test.sh

include ../target.mk
include ../../target.mk
2 changes: 1 addition & 1 deletion benchmark/date-8.21/merged/test.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

export BENCHMARK_NAME=date-8.21
export BENCHMARK_DIR=$CHISEL_BENCHMARK_HOME/benchmark/$BENCHMARK_NAME
export BENCHMARK_DIR=$CHISEL_BENCHMARK_HOME/benchmark/$BENCHMARK_NAME/merged
export SRC=$BENCHMARK_DIR/$BENCHMARK_NAME.c
export ORIGIN_BIN=$BENCHMARK_DIR/$BENCHMARK_NAME.origin
export REDUCED_BIN=$BENCHMARK_DIR/$BENCHMARK_NAME.reduced
Expand Down
2 changes: 1 addition & 1 deletion benchmark/grep-2.19/merged/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ ORACLE=test.sh
CFLAGS="-D __msan_unpoison(s,z)"
LFLAGS="-lpcre"

include ../target.mk
include ../../target.mk
2 changes: 1 addition & 1 deletion benchmark/grep-2.19/merged/test.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

export BENCHMARK_NAME=grep-2.19
export BENCHMARK_DIR=$CHISEL_BENCHMARK_HOME/benchmark/$BENCHMARK_NAME
export BENCHMARK_DIR=$CHISEL_BENCHMARK_HOME/benchmark/$BENCHMARK_NAME/merged
export SRC=$BENCHMARK_DIR/$BENCHMARK_NAME.c
export ORIGIN_BIN=$BENCHMARK_DIR/$BENCHMARK_NAME.origin
export REDUCED_BIN=$BENCHMARK_DIR/$BENCHMARK_NAME.reduced
Expand Down
2 changes: 1 addition & 1 deletion benchmark/mkdir-5.2.1/merged/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ ORIGIN_BIN=mkdir-5.2.1.origin
SRC=$(NAME).c
ORACLE=test.sh

include ../target.mk
include ../../target.mk
4 changes: 2 additions & 2 deletions benchmark/mkdir-5.2.1/merged/test.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

export BENCHMARK_NAME=mkdir-5.2.1
export BENCHMARK_DIR=$CHISEL_BENCHMARK_HOME/benchmark/$BENCHMARK_NAME
export BENCHMARK_DIR=$CHISEL_BENCHMARK_HOME/benchmark/$BENCHMARK_NAME/merged
export SRC=$BENCHMARK_DIR/$BENCHMARK_NAME.c
export ORIGIN_BIN=$BENCHMARK_DIR/$BENCHMARK_NAME.origin
export REDUCED_BIN=$BENCHMARK_DIR/$BENCHMARK_NAME.reduced
Expand Down Expand Up @@ -34,7 +34,7 @@ function run_error() {
rm -rf d1 >&/dev/null
{ timeout $TIMEOUT $REDUCED_BIN $1 $2; } >&temp1 && exit 1
rm -rf d1 >&/dev/null
{ $ORIGIN_BIN $1 $2; }>&temp2
{ $ORIGIN_BIN $1 $2; } >&temp2
temp1=$(head -n 1 temp1 | cut -d ' ' -f 2,3)
temp2=$(head -n 1 temp2 | cut -d ' ' -f 2,3)
if [[ $temp1 == $temp2 ]]; then
Expand Down
2 changes: 1 addition & 1 deletion benchmark/rm-8.4/merged/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ ORIGIN_BIN=rm-8.4.origin
SRC=$(NAME).c
ORACLE=test.sh

include ../target.mk
include ../../target.mk
2 changes: 1 addition & 1 deletion benchmark/rm-8.4/merged/test.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

export BENCHMARK_NAME=rm-8.4
export BENCHMARK_DIR=$CHISEL_BENCHMARK_HOME/benchmark/$BENCHMARK_NAME
export BENCHMARK_DIR=$CHISEL_BENCHMARK_HOME/benchmark/$BENCHMARK_NAME/merged
export SRC=$BENCHMARK_DIR/$BENCHMARK_NAME.c
export ORIGIN_BIN=$BENCHMARK_DIR/$BENCHMARK_NAME.origin
export REDUCED_BIN=$BENCHMARK_DIR/$BENCHMARK_NAME.reduced
Expand Down
2 changes: 1 addition & 1 deletion benchmark/sort-8.16/merged/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ SRC=$(NAME).c
ORACLE=test.sh
LFLAGS=-lpthread

include ../target.mk
include ../../target.mk
2 changes: 1 addition & 1 deletion benchmark/sort-8.16/merged/test.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

export BENCHMARK_NAME=sort-8.16
export BENCHMARK_DIR=$CHISEL_BENCHMARK_HOME/benchmark/$BENCHMARK_NAME
export BENCHMARK_DIR=$CHISEL_BENCHMARK_HOME/benchmark/$BENCHMARK_NAME/merged
export SRC=$BENCHMARK_DIR/$BENCHMARK_NAME.c
export ORIGIN_BIN=$BENCHMARK_DIR/$BENCHMARK_NAME.origin
export REDUCED_BIN=$BENCHMARK_DIR/$BENCHMARK_NAME.reduced
Expand Down
2 changes: 1 addition & 1 deletion benchmark/tar-1.14/merged/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ ORIGIN_BIN=$(NAME).origin
SRC=$(NAME).c
ORACLE=test.sh

include ../target.mk
include ../../target.mk
2 changes: 1 addition & 1 deletion benchmark/tar-1.14/merged/test.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

export BENCHMARK_NAME=tar-1.14
export BENCHMARK_DIR=$CHISEL_BENCHMARK_HOME/benchmark/$BENCHMARK_NAME
export BENCHMARK_DIR=$CHISEL_BENCHMARK_HOME/benchmark/$BENCHMARK_NAME/merged
export SRC=$BENCHMARK_DIR/$BENCHMARK_NAME.c
export ORIGIN_BIN=$BENCHMARK_DIR/$BENCHMARK_NAME.origin
export REDUCED_BIN=$BENCHMARK_DIR/$BENCHMARK_NAME.reduced
Expand Down
2 changes: 1 addition & 1 deletion benchmark/uniq-8.16/merged/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ ORIGIN_BIN=$(NAME).origin
SRC=$(NAME).c
ORACLE=test.sh

include ../target.mk
include ../../target.mk
2 changes: 1 addition & 1 deletion benchmark/uniq-8.16/merged/test.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

export BENCHMARK_NAME=uniq-8.16
export BENCHMARK_DIR=$CHISEL_BENCHMARK_HOME/benchmark/$BENCHMARK_NAME
export BENCHMARK_DIR=$CHISEL_BENCHMARK_HOME/benchmark/$BENCHMARK_NAME/merged
export SRC=$BENCHMARK_DIR/$BENCHMARK_NAME.c
export ORIGIN_BIN=$BENCHMARK_DIR/$BENCHMARK_NAME.origin
export REDUCED_BIN=$BENCHMARK_DIR/$BENCHMARK_NAME.reduced
Expand Down

0 comments on commit 490ae19

Please sign in to comment.