From fc311d434edf80fc29c0f6dd4653d70970e501bf Mon Sep 17 00:00:00 2001 From: Dmitriy Nikiforov Date: Tue, 10 Oct 2017 17:44:07 +0300 Subject: [PATCH] Refactoring in infra/commands/run.sh Renamed variables: TARGET_NAME -> PROJECT_NAME TEST_NAME -> TARGET_NAME Change-Id: Id1c7b125f4822986d1b733267823932611f4c3ad --- infra/commands/run.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/infra/commands/run.sh b/infra/commands/run.sh index 02f20ca..a07b12c 100755 --- a/infra/commands/run.sh +++ b/infra/commands/run.sh @@ -114,13 +114,13 @@ fi # RUNNING TARGETS ######################################################## -TARGET_NAME="${1}" -TEST_NAME="${2}" -target_dir="${FUZZING_DIR}/${TARGET_NAME}/${TEST_NAME}.d" -dict_dir="${FUZZING_DIR}/${TARGET_NAME}/dicts" +PROJECT_NAME="${1}" +TARGET_NAME="${2}" +target_dir="${FUZZING_DIR}/${PROJECT_NAME}/${TARGET_NAME}.d" +dict_dir="${FUZZING_DIR}/${PROJECT_NAME}/dicts" -options_file="${target_dir}/${TEST_NAME}.options" -target_bin="${target_dir}/${TEST_NAME}" +options_file="${target_dir}/${TARGET_NAME}.options" +target_bin="${target_dir}/${TARGET_NAME}" seed_corpus_dir="${target_dir}/seed_corpus" generated_corpus_dir="${target_dir}/generated_corpus" logs_dir="${target_dir}/logs" -- 2.7.4