tap-compiler: Don't skip tests if tests crash
tap-compiler: Don't skip tests if tests crash

We got a 'TAP plan' error if a test would crash or abort without
running all the tests. Account for this in our tap-compiler script.

So here's how this works.

 1. The tap-compiler now runs its test cases with the '--tap -l --verbose'
    arguments. In the case of GTest tests, this causes it to output a list
    of the available test cases. Non-GTest tests (such as test-server) are
    expected to ignore the -l and just start testing, and producing TAP
    output on their own.

 2. If we see that it's a GTest list of test cases, then we rerun the
    test without the -l argument for actual testing. We keep track of
    which tests have run.

 3. If the tests crash half-way, we can run the remaining tests with the
    GTest -p argument, individually each in their own process.

We try to run everything in one process initially for speed, falling back
to slower -p behavior once something errors out.

Reviewd-by: Marius Vollmer <redhat.com>
Closes: #228

moraleslazaro/cockpit,netzvieh/cockpit,mareklibra/cockpit,maxamillion/cockpit,firebitsbr/cockpit,vanloswang/cockpit,sgallagher/cockpit,mvollmer/cockpit,michalskrivanek/cockpit,sgallagher/cockpit,stefwalter/cockpit,maxamillion/cockpit,larskarlitski/cockpit,fridex/cockpit,evol262/cockpit,mvollmer/cockpit,firebitsbr/cockpit,michalskrivanek/cockpit,deryni/cockpit,haiyangd/cockpit_view,larsu/cockpit,jscotka/cockpit,deryni/cockpit,matobet/cockpit,moolitayer/cockpit,harishanand95/cockpit,larsu/cockpit,FireDrunk/cockpit,firebitsbr/cockpit,petervo/cockpit,stefwalter/cockpit,evol262/cockpit,Scribery/cockpit,moolitayer/cockpit,matobet/cockpit,moolitayer/cockpit,moraleslazaro/cockpit,jscotka/cockpit,petervo/cockpit,firebitsbr/cockpit,andreasn/cockpit,dperpeet/cockpit,cockpituous/cockpit,SotolitoLabs/cockpit,mvollmer/cockpit,cockpit-project/cockpit,jscotka/cockpit,Scribery/cockpit,evol262/cockpit,petervo/cockpit,firebitsbr/cockpit,stefwalter/cockpit,cockpituous/cockpit,zigitax/cockpit,sgallagher/cockpit,maxamillion/cockpit,stefwalter/cockpit,SotolitoLabs/cockpit,stefwalter/cockpit,mvollmer/cockpit,petervo/cockpit,Thermionix/cockpit,SotolitoLabs/cockpit,larskarlitski/cockpit,sgallagher/cockpit,kkaempf/cockpit,SotolitoLabs/cockpit,jscotka/cockpit,netzvieh/cockpit,petervo/cockpit,haiyangd/cockpit_view,sub-mod/cockpit,larsu/cockpit,darioajr/cockpit,xhad/cockpit,SotolitoLabs/cockpit,sgallagher/cockpit,Thermionix/cockpit,larskarlitski/cockpit,matobet/cockpit,michalskrivanek/cockpit,evol262/cockpit,fridex/cockpit,Armstrong1992/cockpit,matobet/cockpit,xhad/cockpit,maxamillion/cockpit,matobet/cockpit,dperpeet/cockpit,harishanand95/cockpit,xhad/cockpit,andreasn/cockpit,moolitayer/cockpit,larskarlitski/cockpit,netzvieh/cockpit,deryni/cockpit,Armstrong1992/cockpit,deryni/cockpit,larsu/cockpit,martinpitt/cockpit,larskarlitski/cockpit,maxamillion/cockpit,denysvitali/cockpit,garrett/cockpit,deryni/cockpit,zigitax/cockpit,Scribery/cockpit,michalskrivanek/cockpit,SotolitoLabs/cockpit,Scribery/cockpit,martinpitt/cockpit,andreasn/cockpit,haiyangd/cockpit_view,FireDrunk/cockpit,moolitayer/cockpit,Thermionix/cockpit,vanloswang/cockpit,mareklibra/cockpit,petervo/cockpit,petervo/cockpit,kkaempf/cockpit,netzvieh/cockpit,nmav/cockpit,zigitax/cockpit,Scribery/cockpit,moraleslazaro/cockpit,cockpituous/cockpit,vanloswang/cockpit,vbatts/cockpit,vbatts/cockpit,haiyangd/cockpit_view,mareklibra/cockpit,mareklibra/cockpit,fridex/cockpit,vanloswang/cockpit,andreasn/cockpit,Scribery/cockpit,vbatts/cockpit,arilivigni/cockpit,moraleslazaro/cockpit,mareklibra/cockpit,arilivigni/cockpit,dperpeet/cockpit,stefwalter/cockpit,sub-mod/cockpit,xhad/cockpit,moraleslazaro/cockpit,cockpit-project/cockpit,larsu/cockpit,mvollmer/cockpit,arilivigni/cockpit,denysvitali/cockpit,cockpit-project/cockpit,dperpeet/cockpit,vbatts/cockpit,moraleslazaro/cockpit,andreasn/cockpit,SotolitoLabs/cockpit,jscotka/cockpit,dperpeet/cockpit,vanloswang/cockpit,dperpeet/cockpit,stefwalter/cockpit,denysvitali/cockpit,xhad/cockpit,kkaempf/cockpit,sub-mod/cockpit,zigitax/cockpit,Thermionix/cockpit,michalskrivanek/cockpit,martinpitt/cockpit,sgallagher/cockpit,darioajr/cockpit,vanloswang/cockpit,nmav/cockpit,vanloswang/cockpit,harishanand95/cockpit,FireDrunk/cockpit,cockpituous/cockpit,evol262/cockpit,sub-mod/cockpit,darioajr/cockpit,harishanand95/cockpit,martinpitt/cockpit,arilivigni/cockpit,matobet/cockpit,jscotka/cockpit,fridex/cockpit,garrett/cockpit,harishanand95/cockpit,FireDrunk/cockpit,haiyangd/cockpit_view,zigitax/cockpit,garrett/cockpit,xhad/cockpit,martinpitt/cockpit,nmav/cockpit,evol262/cockpit,michalskrivanek/cockpit,andreasn/cockpit,deryni/cockpit,FireDrunk/cockpit,vbatts/cockpit,larsu/cockpit,mareklibra/cockpit,netzvieh/cockpit,darioajr/cockpit,larskarlitski/cockpit,larskarlitski/cockpit,dperpeet/cockpit,Armstrong1992/cockpit,nmav/cockpit,cockpit-project/cockpit,vbatts/cockpit,cockpit-project/cockpit,xhad/cockpit,harishanand95/cockpit,harishanand95/cockpit,moraleslazaro/cockpit,mareklibra/cockpit,denysvitali/cockpit,arilivigni/cockpit,garrett/cockpit,arilivigni/cockpit,fridex/cockpit,darioajr/cockpit,Thermionix/cockpit,garrett/cockpit,denysvitali/cockpit,cockpituous/cockpit,Scribery/cockpit,cockpituous/cockpit,Armstrong1992/cockpit,kkaempf/cockpit,sub-mod/cockpit,arilivigni/cockpit,kkaempf/cockpit,Thermionix/cockpit,sgallagher/cockpit,deryni/cockpit,netzvieh/cockpit,nmav/cockpit,fridex/cockpit,Armstrong1992/cockpit,michalskrivanek/cockpit,andreasn/cockpit