File: test.cpp

package info (click to toggle)
libwibble 1.1-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 1,040 kB
  • ctags: 2,721
  • sloc: cpp: 14,542; makefile: 196; perl: 87; sh: 26
file content (14 lines) | stat: -rw-r--r-- 207 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <wibble/test.h>

namespace wibble {
int assertFailure = 0;

void assert_die_fn( Location l )
{
    {
        AssertFailed f( l );
    }
    abort(); // in the NDEBUG case, the above is a no-op
}

}