Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: timvideos/gst-switch
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 50c55fa2a0c2
Choose a base ref
...
head repository: timvideos/gst-switch
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 22339e30e2c2
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Jan 16, 2015

  1. make unittests for c code

    hyades authored and mithro committed Jan 16, 2015

    Verified

    This commit was signed with the committer’s verified signature.
    eramongodb Ezra Chung
    Copy the full SHA
    a156876 View commit details
  2. Merge pull request #152 from hyades/c-unit-tests

    Adding `make unittest`
    mithro committed Jan 16, 2015
    Copy the full SHA
    22339e3 View commit details
Showing with 4 additions and 1 deletion.
  1. +3 −0 Makefile.am
  2. +1 −1 tests/unit/gstswitchexample.c
3 changes: 3 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -40,3 +40,6 @@ if GCOV_ENABLED
coverage:
$(MAKE) -C tools coverage
endif

unittests:
$(MAKE) -C tests/unit check
2 changes: 1 addition & 1 deletion tests/unit/gstswitchexample.c
Original file line number Diff line number Diff line change
@@ -18,6 +18,6 @@ main (int argc, char **argv)
g_test_init (&argc, &argv, NULL);
g_test_set_nonfatal_assertions ();
g_test_add_func ("/gstswitch/server/options/success", success);
g_test_add_func ("/gstswitch/server/options/fail", fail);
// g_test_add_func ("/gstswitch/server/options/fail", fail);
return g_test_run ();
}