diff --git a/cmake/coverage.cmake b/cmake/coverage.cmake index 8464c0fed8fbdeca293eb8743038231b204035f7..23e8af83cd33f8455d70c218ff55a32b9ba3df10 100644 --- a/cmake/coverage.cmake +++ b/cmake/coverage.cmake @@ -19,7 +19,7 @@ add_custom_target(es2panda_coverage DEPENDS etsstdlib es2panda verifier ark) add_custom_command(TARGET es2panda_coverage POST_BUILD WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} - COMMAND bash ${PANDA_ROOT}/plugins/ecmascript/es2panda/scripts/es2panda_coverage.sh --binary-dir=${PANDA_BINARY_ROOT} --root-dir=${PANDA_ROOT} + COMMAND bash ${PANDA_ROOT}/tools/es2panda/scripts/es2panda_coverage.sh --binary-dir=${PANDA_BINARY_ROOT} --root-dir=${PANDA_ROOT} ) if(ENABLE_ES2PANDA_COVERAGE) diff --git a/scripts/es2panda_coverage.sh b/scripts/es2panda_coverage.sh index 387dc73a57e23a6903457eab4b595444b7d1f01f..1e1a169eca4d5c5a8b04fc22a99b459edfdc08af 100644 --- a/scripts/es2panda_coverage.sh +++ b/scripts/es2panda_coverage.sh @@ -26,16 +26,16 @@ case "$ARGUMENT" in esac done -python $PANDA_ROOT/plugins/ecmascript/es2panda/scripts/test-runner.py \ +python $PANDA_ROOT/tools/es2panda/scripts/test-runner.py \ --builddir $PANDA_BINARY_ROOT --arkdir $PANDA_ROOT --all -gcov $PANDA_BINARY_ROOT/plugins/ecmascript/es2panda/CMakeFiles/es2panda-lib.dir/*/* +gcov $PANDA_BINARY_ROOT/tools/es2panda/CMakeFiles/es2panda-lib.dir/*/* if [ -x "$(command -v gcovr)" ]; then echo "gcovr found" gcovr --version - gcovr -v -r $PANDA_ROOT/plugins/ecmascript/es2panda \ - -e $PANDA_ROOT/plugins/ecmascript/es2panda/test \ + gcovr -v -r $PANDA_ROOT/tools/es2panda \ + -e $PANDA_ROOT/tools/es2panda/test \ --object-directory=$PANDA_BINARY_ROOT --html-details --html -o report.html else