[rt46602] Ensure that tests running in parallel use unique ports
Via an intermediate make file, tests that have been modified to be able
to run in parallel are assigned unique query and control port numbers
(other than 5300 and 9953 respectively). Tests that have not yet been
modified all use ports 5300 and 9953, so must be run sequentially.
(cherry picked from commit
e7429b124bd3d0fcce107eaf790ece4ba332eccd)
(cherry picked from commit
4f68e67e5cb5799cf26657f3e00ae3fca636a96f)
(cherry picked from commit
704e2324e3ade6b5a19c6391a5230924715b1544)