Files
gnatdashboard/.gitattributes
Nicolas Setton 34e17a64d6 U723-025 Reorganize Python files to support virtualenvs
A Python virtualenv might overwrite the site-packages entry
in sys.path; when this happens, plugin-runner.py can no longer
load GNAThub.py.

To address this, place GNAThub.py in the core directory rather
than in the Python install.

This means that tests can no longer simply rely on the GNAThub
module being available for testing - to make this available
to tests, set an environment variable COREDIR to point to the
directory containing this. (We could make this simpler by setting
the PYTHONPATH for all tests, but this presents the risk of
hiding setup problems where the python-runner.py would normally
not find the GNAThub module)

Simplify the structure in the process, removing src/lib and
placing all Python files under share/gnathub/core.

Simplify the Makefile accordingly.

Remove use of deprecated API in the testsuite driver.

Change-Id: I2574afd9560eba7ff9a6e0a98836d1a04b11c807
2021-07-29 10:28:48 +01:00

56 lines
3.2 KiB
Plaintext

# GNAThub Test Files
gnathub/share/examples/gnatdashboard/sdc/projects/prj2/src2.adb no-precommit-check
gnathub/share/examples/gnatdashboard/sdc/projects/prj4/src4.adb no-precommit-check
gnathub/share/examples/gnatdashboard/sdc/projects/prj1/src1.adb no-precommit-check
gnathub/share/examples/gnatdashboard/sdc/projects/prj3/src3.adb no-precommit-check
gnathub/share/examples/gnatdashboard/sdc/common/screen_output.ads no-precommit-check
gnathub/share/examples/gnatdashboard/sdc/common/input.ads no-precommit-check
gnathub/share/examples/gnatdashboard/sdc/common/input.adb no-precommit-check
gnathub/share/examples/gnatdashboard/sdc/common/screen_output.adb no-precommit-check
gnathub/share/examples/gnatdashboard/sdc/common/except.ads no-precommit-check
gnathub/share/examples/gnatdashboard/sdc/common/stack.adb no-precommit-check
gnathub/share/examples/gnatdashboard/sdc/common/sdc.adb no-precommit-check
gnathub/share/examples/gnatdashboard/sdc/common/stack.ads no-precommit-check
gnathub/share/examples/gnatdashboard/sdc/common/sdc.ads no-precommit-check
gnathub/share/examples/gnatdashboard/sdc/obj/codepeer/b~sdc.adb no-precommit-check
gnathub/share/examples/gnatdashboard/sdc/obj/codepeer/b~sdc.ads no-precommit-check
gnathub/share/examples/gnatdashboard/sdc/struct/instructions.adb no-precommit-check
gnathub/share/examples/gnatdashboard/sdc/struct/values.ads no-precommit-check
gnathub/share/examples/gnatdashboard/sdc/struct/tokens.adb no-precommit-check
gnathub/share/examples/gnatdashboard/sdc/struct/values.adb no-precommit-check
gnathub/share/examples/gnatdashboard/sdc/struct/tokens.ads no-precommit-check
gnathub/share/examples/gnatdashboard/sdc/struct/values-operations.adb no-precommit-check
gnathub/share/examples/gnatdashboard/sdc/struct/values-operations.ads no-precommit-check
gnathub/share/examples/gnatdashboard/sdc/struct/instructions.ads no-precommit-check
# sonar-ada-plugin Java Files
sonar-ada/**/*.java no-precommit-check
sonar-ada/surefire-to-e3-report.py no-precommit-check
# Old known-problems and features files
features-10 no-precommit-check
features-11 no-precommit-check
known-problems-09 no-precommit-check
known-problems-10 no-precommit-check
# Webui JS files
webui/webpack.config.js no-precommit-check
webui/postcss.config.js no-precommit-check
webui/config/head-config.common.js no-precommit-check
webui/config/helpers.js no-precommit-check
webui/config/webpack.dev.js no-precommit-check
webui/config/html-elements-plugin/index.js no-precommit-check
webui/config/modules/angular2-hmr-prod.js no-precommit-check
webui/config/protractor.conf.js no-precommit-check
webui/config/webpack.test.js no-precommit-check
webui/config/webpack.common.js no-precommit-check
webui/config/karma.conf.js no-precommit-check
webui/config/webpack.prod.js no-precommit-check
webui/config/spec-bundle.js no-precommit-check
webui/coverage/html/sorter.js no-precommit-check
webui/coverage/html/prettify.js no-precommit-check
webui/karma.conf.js no-precommit-check
webui/dll/polyfills.dll.js no-precommit-check
webui/dll/vendor.dll.js no-precommit-check
# This imports the Ada Python API using "from x import *"
gnathub/share/gnathub/core/GNAThub/__init__.py no-precommit-check
sonar-ada/sonar-ada-plugin/src/test/resources/test_sources/* no-precommit-check