Skip to content

Commit

Permalink
make unittests for c code
Browse files Browse the repository at this point in the history
  • Loading branch information
hyades committed Jan 5, 2015
1 parent 541ffd7 commit 98d5a62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Up @@ -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 ();
}

0 comments on commit 98d5a62

Please sign in to comment.