From d34b6946a2f15ff988c1af9626d6fe0098038fec Mon Sep 17 00:00:00 2001 From: ASuciuX Date: Thu, 30 Nov 2023 20:37:18 +0200 Subject: [PATCH] feat: move outputs to trials folder --- mutation-testing/scripts/README.md | 1 + mutation-testing/scripts/append.sh | 4 ++-- mutation-testing/scripts/script2.sh | 4 ++-- .../trials/mutants-stable}/caught.txt | 0 .../trials/mutants-stable}/missed.txt | 0 .../trials/mutants-stable}/timeout.txt | 0 .../trials/mutants-stable}/unviable.txt | 0 .../trials/mutants.out.old}/caught.txt | 0 .../trials/mutants.out.old}/missed.txt | 0 .../trials/mutants.out.old}/timeout.txt | 0 .../trials/mutants.out.old}/unviable.txt | 0 11 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 mutation-testing/scripts/README.md rename {mutants-initial => mutation-testing/trials/mutants-stable}/caught.txt (100%) rename {mutants-initial => mutation-testing/trials/mutants-stable}/missed.txt (100%) rename {mutants-initial => mutation-testing/trials/mutants-stable}/timeout.txt (100%) rename {mutants-initial => mutation-testing/trials/mutants-stable}/unviable.txt (100%) rename {mutants.out.old => mutation-testing/trials/mutants.out.old}/caught.txt (100%) rename {mutants.out.old => mutation-testing/trials/mutants.out.old}/missed.txt (100%) rename {mutants.out.old => mutation-testing/trials/mutants.out.old}/timeout.txt (100%) rename {mutants.out.old => mutation-testing/trials/mutants.out.old}/unviable.txt (100%) diff --git a/mutation-testing/scripts/README.md b/mutation-testing/scripts/README.md new file mode 100644 index 0000000000..ddf4897375 --- /dev/null +++ b/mutation-testing/scripts/README.md @@ -0,0 +1 @@ +### steps to reproduce it: diff --git a/mutation-testing/scripts/append.sh b/mutation-testing/scripts/append.sh index ac46aa95ca..4083a49552 100644 --- a/mutation-testing/scripts/append.sh +++ b/mutation-testing/scripts/append.sh @@ -3,7 +3,7 @@ ### Delete irelevant files -PR_DIR="./../mutants-initial" +PR_DIR="./../trials/mutants.out.old" # Change to the PR_DIR cd "$PR_DIR" @@ -18,7 +18,7 @@ find . -type d -empty -delete ### Append from PR_DIR to STABLE_DIR # Directories -STABLE_DIR="./../mutants.out.old" +STABLE_DIR="./../trials/mutants-stable" # Array of file names FILES=("caught.txt" "missed.txt" "timeout.txt" "unviable.txt") diff --git a/mutation-testing/scripts/script2.sh b/mutation-testing/scripts/script2.sh index c9be248d6a..80f787e5e6 100644 --- a/mutation-testing/scripts/script2.sh +++ b/mutation-testing/scripts/script2.sh @@ -1,7 +1,7 @@ #!/bin/bash -PR_FOLDER="./../mutants.out" -STABLE_FOLDER="./../mutants.out.old" +PR_FOLDER="./../trials/mutants.out.old" +STABLE_FOLDER="./../mutants-stable" FILES=("caught.txt" "missed.txt" "timeout.txt" "unviable.txt") echo "Starting script..." diff --git a/mutants-initial/caught.txt b/mutation-testing/trials/mutants-stable/caught.txt similarity index 100% rename from mutants-initial/caught.txt rename to mutation-testing/trials/mutants-stable/caught.txt diff --git a/mutants-initial/missed.txt b/mutation-testing/trials/mutants-stable/missed.txt similarity index 100% rename from mutants-initial/missed.txt rename to mutation-testing/trials/mutants-stable/missed.txt diff --git a/mutants-initial/timeout.txt b/mutation-testing/trials/mutants-stable/timeout.txt similarity index 100% rename from mutants-initial/timeout.txt rename to mutation-testing/trials/mutants-stable/timeout.txt diff --git a/mutants-initial/unviable.txt b/mutation-testing/trials/mutants-stable/unviable.txt similarity index 100% rename from mutants-initial/unviable.txt rename to mutation-testing/trials/mutants-stable/unviable.txt diff --git a/mutants.out.old/caught.txt b/mutation-testing/trials/mutants.out.old/caught.txt similarity index 100% rename from mutants.out.old/caught.txt rename to mutation-testing/trials/mutants.out.old/caught.txt diff --git a/mutants.out.old/missed.txt b/mutation-testing/trials/mutants.out.old/missed.txt similarity index 100% rename from mutants.out.old/missed.txt rename to mutation-testing/trials/mutants.out.old/missed.txt diff --git a/mutants.out.old/timeout.txt b/mutation-testing/trials/mutants.out.old/timeout.txt similarity index 100% rename from mutants.out.old/timeout.txt rename to mutation-testing/trials/mutants.out.old/timeout.txt diff --git a/mutants.out.old/unviable.txt b/mutation-testing/trials/mutants.out.old/unviable.txt similarity index 100% rename from mutants.out.old/unviable.txt rename to mutation-testing/trials/mutants.out.old/unviable.txt