Any professional programmer will test on all the supported targets. If you have set up your build & test system correctly then the overhead should not be unmanageable.
When I did development for Java I also test on the target JVM (developed on the Sun/Oracle JVM, deployed on the IBM z/OS JVM with some interesting bugs too).