Revert "refactor: move xmodule folder to root"

This commit is contained in:
Muhammad Umar Khan
2022-06-20 16:03:48 +05:00
committed by GitHub
parent 182eb39ed2
commit d890f06507
487 changed files with 339 additions and 216 deletions

View File

@@ -116,7 +116,7 @@ case "${TEST_SUITE}" in
mv reports/${TEST_SUITE}.coverage reports/.coverage.commonlib
;;
[1-2])
paver test_lib -l ./xmodule --disable_capture --eval-attr="shard==$SHARD" ${PAVER_ARGS} 2> common-tests.${SHARD}.log
paver test_lib -l common/lib/xmodule --disable_capture --eval-attr="shard==$SHARD" ${PAVER_ARGS} 2> common-tests.${SHARD}.log
mv reports/${TEST_SUITE}.coverage reports/.coverage.commonlib.${SHARD}
;;
3|"noshard")

View File

@@ -35,14 +35,10 @@ exclude+='|^common/test/data/?.*$'
# in each chlid directory).
# However, we do NOT want to exclude the source directories *within* the sub-projects.
# Example:
# * common/lib/capa -> EXCLUDE from check.
# * common/lib/capa/capa/safe_exec -> INCLUDE in check.
# * common/lib/xmodule -> EXCLUDE from check.
# * common/lib/xmodule/xmodule/modulestore -> INCLUDE in check.
exclude+='|^common/lib$'
exclude+='|^common/lib/capa$'
# xmodule data folder
exclude+='|^xmodule/tests/data/xml-course-root/capa$'
exclude+='|^xmodule/tests/data/xml-course-root/uploads/python_lib_zip$'
exclude+='|^common/lib/(capa|xmodule)$'
# Docs, scripts.
exclude+='|^docs/.*$'