mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 22:03:17 +01:00
Make tests to be two binaries 'tests_static' and 'tests_shared', so the maintenance is easier. Adding tests under libperf build system, so we define all the flags just once. Adding make-tests tule to just compile tests without running them. Signed-off-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Michael Petlan <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Shunsuke Nakamura <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
16 lines
361 B
C
16 lines
361 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#include <internal/tests.h>
|
|
#include "tests.h"
|
|
|
|
int tests_failed;
|
|
int tests_verbose;
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
__T("test cpumap", !test_cpumap(argc, argv));
|
|
__T("test threadmap", !test_threadmap(argc, argv));
|
|
__T("test evlist", !test_evlist(argc, argv));
|
|
__T("test evsel", !test_evsel(argc, argv));
|
|
return 0;
|
|
}
|