]> www.infradead.org Git - users/dwmw2/linux.git/commit
libperf: Change tests to single static and shared binaries
authorJiri Olsa <jolsa@redhat.com>
Tue, 6 Jul 2021 15:16:58 +0000 (17:16 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 7 Jul 2021 14:41:58 +0000 (11:41 -0300)
commit3d970601dacaefc025a2d690dfd63f56b1bdde0b
treecb7456857e589999395552727483180f7a26bcd0
parentb4b046ff9e3410593db7b35326cf696810af8f4f
libperf: Change tests to single static and shared binaries

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 <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Shunsuke Nakamura <nakamura.shun@fujitsu.com>
Link: http://lore.kernel.org/lkml/20210706151704.73662-2-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/perf/Build
tools/lib/perf/Makefile
tools/lib/perf/include/internal/tests.h
tools/lib/perf/tests/Build [new file with mode: 0644]
tools/lib/perf/tests/Makefile [deleted file]
tools/lib/perf/tests/main.c [new file with mode: 0644]
tools/lib/perf/tests/test-cpumap.c
tools/lib/perf/tests/test-evlist.c
tools/lib/perf/tests/test-evsel.c
tools/lib/perf/tests/test-threadmap.c
tools/lib/perf/tests/tests.h [new file with mode: 0644]