From c39fa047fe9b4329d5491ae963d59be870a3cd1c Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Fri, 17 Mar 2023 02:18:25 +0800 Subject: [PATCH] Update run_test.sh up --- README.md | 2 +- run_test.sh | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 run_test.sh diff --git a/README.md b/README.md index f446940f..fed8b659 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@

-PocketPy is a lightweight(~5000 LOC) Python interpreter for game engines. +PocketPy is a lightweight(~6000 LOC) Python interpreter for game engines. **English |** [**简体中文**](README_zh.md) diff --git a/run_test.sh b/run_test.sh new file mode 100644 index 00000000..29b45c31 --- /dev/null +++ b/run_test.sh @@ -0,0 +1,6 @@ +clang++ -std=c++17 -fno-rtti --coverage -Wall -o pocketpy src/main.cpp +python3 scripts/run_tests.py +llvm-cov-15 gcov main.gc -r -s src/ +rm -rf .coverage +mkdir -p .coverage +mv *.gcov .coverage \ No newline at end of file