Julian Foad wrote on Sat, 29 Feb 2020 08:02 +00:00: > > Daniel Shahaf wrote: > > > > > > > Julian Foad wrote on Fri, 28 Feb 2020 22:30 +0000: > > > > > > > > > > > In a default test run, the shelving v3 tests pass and the shelving v2 > > > tests are skipped. With SVN_EXPERIMENTAL_COMMANDS=shelf2, the v2 tests > > > are run (and they pass); (I haven't added corresponding skips to the v3 > > > tests for this case). > > > > > > > > > > > > > > > Any reason not to run the tests for both v2 and v3 by default? > > > > No reason; I just didn't have time to figure out how. Maybe the > decorator could set the env-var?
I see two complications here: 1. Envvars are process-global, and different test functions may be run in parallel in different threads. 2. Tests may be run either via build/run_tests.py or via ./foo_tests.py. I don't have an implementation suggestion, I'm afraid. > I agree it would be good. Cheers, Daniel