switchbin: Add a basic unit-test

Test the basic function of a switchbin - that it correctly
selects between 2 processing paths based on caps
23 jobs for switchbin-upstreaming in 98 minutes and 39 seconds (queued for 9 minutes and 21 seconds)
Status Job ID Name Coverage
  Preparation
passed #878630
gst indent

00:00:31

passed #878629
manifest

00:00:36

 
  Build
passed #878640
build cerbero cross-android universal

00:13:50

manual #878644
gst-ios-12.2 allowed to fail manual
build cerbero cross-ios universal
passed #878641
build cerbero cross win32

00:11:31

passed #878642
build cerbero cross win64

00:08:14

passed #878639
build cerbero fedora x86_64

00:06:00

passed #878643
gst-macos-10.14
build cerbero macos x86_64

00:07:28

passed #878635
build clang fedora x86_64

00:07:04

passed #878631
build fedora x86_64

00:05:38

passed #878638
docker windows 1607
build msys2

00:18:58

passed #878632
build nodebug fedora x86_64

00:03:26

passed #878633
build static fedora x86_64

00:12:35

passed #878634
build static nodebug fedora x86_64

00:03:53

passed #878636
docker windows 1607
build vs2017 amd64

00:12:20

passed #878637
docker windows 1607
build vs2017 x86

00:13:30

 
  Test
passed #884327
check fedora

00:04:26

passed #878646
integration testsuites fedora

00:42:35

failed #878647
valgrind bad

00:09:21

failed #878645
check fedora

00:04:23

 
  Integrate
passed #878648
cross-android universal examples

00:11:46

skipped #878650
gst-ios-12.2 allowed to fail manual
cross-ios universal examples
passed #878649
documentation

00:07:11

 
Name Stage Failure
failed
valgrind bad Test
           Total: 400
Uploading artifacts...
gst-build/build/meson-logs/: found 2 matching files
validate-logs: found 814 matching files

Uploading artifacts to coordinator... ok
id=878647 responseStatus=201 Created token=tCBu3-6R
Uploading artifacts...
validate-logs/*.xml: found 1 matching files

Uploading artifacts to coordinator... ok
id=878647 responseStatus=201 Created token=tCBu3-6R
ERROR: Job failed: exit code 1