~jbboehr/+git/check:debian

Last commit made on 2016-10-02
Get this branch:
git clone -b debian https://git.launchpad.net/~jbboehr/+git/check
Only John Boehr can upload to this branch. If you are John Boehr please log in for upload directions.

Branch merges

Branch information

Name:
debian
Repository:
lp:~jbboehr/+git/check

Recent commits

b4c25cc... by John Boehr

Messing with stuff

db4e084... by John Boehr

meh

a617883... by John Boehr

Import debian packaging

7f52b3e... by Crispin Dent-Young <email address hidden>

Support arbitrary tagging and selection of testcases.

A testcase can optionally have a list of tags associated with it.
Srunner can be run with an optional include list of tags and an optional
exclude list of tags. These will have the effect of filtering testcases
that would otherwise be run.

99a6727... by Crispin Dent-Young <email address hidden>

Reduce Timeout Double Scaling Tests scale to avoid UT failures

The test "test_sleep2_fail" is occasionally passing (failing to fail)
in the jenkins UT - perhaps 1.6 seconds doesn't give enough leeway ?
Making it 1.5 seconds so its in exactly in the middle of sleep1_pass
and sleep2_fail.

517a338... by "Nicola Spanti (RyDroid)" <email address hidden>

Adding the license header to the file for Travis CI

3026b2a... by "Nicola Spanti (RyDroid)" <email address hidden>

Very minor additions to .gitignore

005a4d6... by b

Do not report failure line numbers if file not setup

When running the master suite failure line numbers are written to
a file. Usually this is fine. However, the check_mem_leak.c test
re-uses the same tests. As a result, every time a failure is hit
a SEGV occurs because the file is never setup.

The memory leak test does not check against the line numbers,
so omitting these are fine. This fix prevents lots of SEGV
failures when running check_mem_leak.c under valgrind.

ffc4075... by b

Disallow a test case from being added to a suite twice

It was possible to add a test case to a suite more than
once. When the suite is freed later on the test case is
freed twice, causing a double free error.

Although is likely a bug from the test writer, this change
allows check to disallow double additions to prevent
double freeing a test case.

https://github.com/libcheck/check/issues/50

2cf0e0c... by b

Remove double addition of test suite

The original purpose of adding the default timeout tests twice
does not seem to be relevant anymore; the timeout tests have been
split into several different types, each using either the
tcase_set_timeout or an environment variable. The tc_timeout_default
suite never has anything but the default timeout set, so the
spirit of why it was originally added no longer applies.
In addition, if the suite were formally torn down it would cause
a double free error.