The same technique can be used to run the tests against physical hardware rather than a simulator. The setup of the board configuration is rather more complicated, with considerable variation for different arrangements.
The detail is beyond the scope of this application note, but is well described in Dan Kegel's Crosstool project [2].