sio2project / sioworkers

GNU General Public License v3.0
11 stars 22 forks source link

Remove or conditionalize Pascal tests #21

Open top-sekret opened 1 year ago

top-sekret commented 1 year ago

As the usage of Pascal has become a little bit low in recent years, it is no longer customary to have a Pascal compiler, if it ever had been. We have NO_JAVA_TESTS. We could also add NO_PASCAL_TESTS.

LiquidPL commented 1 year ago

IIRC, sandboxed compilation tests should work regardless of the host environment, so these should be fine as is. For system compilers, I think a better way of achieving this would be to detect presence of system fpc and skip tests depending on that, since I see no point in a manual way to disable tests except for when a necessary compiler isn't present on the system.

In general, we should check for:

and disable the respective tests accordingly, and then remove the manual test disable environment variables.