open-vcpkg / python-registry

2 stars 1 forks source link

Systematically test ports #6

Open m-kuhn opened 9 months ago

m-kuhn commented 9 months ago

For different triplets and with systematic detection of available ports, controlled by a blocklist. Ideally code from upstream can be reused, see https://github.com/microsoft/vcpkg/blob/master/scripts/azure-pipelines/test-modified-ports.ps1 / ci.baseline.txt.

Neumann-A commented 8 months ago

Have you tested if https://github.com/open-vcpkg/python-registry/blob/main/ports/vcpkg-python-scripts/import_test.py.in can fail? I had a weird issues while testing stuff like that that the script never seems to fail.

m-kuhn commented 8 months ago

At some point during https://github.com/open-vcpkg/python-registry/pull/3 it failed, but maybe in an older version

Neumann-A commented 8 months ago

Would be good to have an explicitly failing test to make sure the test actual works both ways.

Neumann-A commented 8 months ago

From https://github.com/microsoft/vcpkg/pull/37409 I noticed that the import test should only run for native builds.

Neumann-A commented 6 months ago

The import test script should probably be moved into the python3 port.