From 93cb2f9dd7b8dbaaad340bb1cfeb5587838615d7 Mon Sep 17 00:00:00 2001 From: Chenwei Xiao Date: Thu, 15 May 2025 08:38:48 +0800 Subject: [PATCH] Update README and add gitignore with file mode change --- .gitignore | 4 ++++ INSTALL.md | 4 ++-- README.md | 4 ++-- docker_run.sh | 2 +- ready.sh | 0 5 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 .gitignore mode change 100644 => 100755 ready.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b2f5ce6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pyter_tool +benchmark +result +BugsInPy diff --git a/INSTALL.md b/INSTALL.md index 25943c5..df6c70d 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -56,7 +56,7 @@ You will get result of dynamic analysis by this script: ``` The result of dynamic analysis will be stored in `//pyter` folder. -For example, you can find dynamic analysis result of pandas-17609 program in `/pyter/benchmark/pandas-113/pyter`. +For example, you can find dynamic analysis result of pandas-17609 program in `/pyter/benchmark/pandas-17609/pyter`. ### 3. Running PyTER @@ -115,7 +115,7 @@ You will get result of dynamic analysis by this script: ``` The result of dynamic analysis will be stored in `//pyter` folder. -For example, you can find dynamic analysis result of pandas-17609 program in `/pyter/benchmark/pandas-113/pyter`. +For example, you can find dynamic analysis result of pandas-103 program in `/pyter/BugsInPy/benchmark/pandas-103/pyter`. ### 3. Running PyTER diff --git a/README.md b/README.md index cef9518..273245d 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ If you hope to run all benchmarks, then please follow scripts in [INSTALL.md](/I You can import our container as following script: ``` -docker import exmaple.tar pyter +docker import example.tar pyter ``` After then, you can run docker through this script: @@ -46,7 +46,7 @@ docker run -it pyter /bin/bash You should setup serveral paths to run properly our framework: ``` -export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/wonseok/.pyenv/plugins/pyenv-virtualenv/shims:/home/wonseok/.pyenv/shims:/home/wonseok/.pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/pyter/BugsInPy/framework/bin +export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$HOME/.pyenv/plugins/pyenv-virtualenv/shims:$HOME/.pyenv/shims:$HOME/.pyenv/bin:/pyter/BugsInPy/framework/bin source ~/.bashrc ``` diff --git a/docker_run.sh b/docker_run.sh index 069f9da..cc00eef 100755 --- a/docker_run.sh +++ b/docker_run.sh @@ -1 +1 @@ -docker run -e LC_ALL=C.UTF-8 -v /etc/localtime:/etc/localtime:ro -e TZ=Asia/Seoul -it pyter /bin/bash \ No newline at end of file +docker run -e LC_ALL=C.UTF-8 -v /etc/localtime:/etc/localtime:ro -e TZ=$(cat /etc/timezone) -it pyter /bin/bash \ No newline at end of file diff --git a/ready.sh b/ready.sh old mode 100644 new mode 100755