linux/tools/build/feature
Arnaldo Carvalho de Melo 3469fa84c1 tools build: Fix the zstd test in the test-all.c common case feature test
We were renanimg 'main' to 'main_zstd' but then using 'main_libzstd();'
in the main() for test-all.c, causing this:

  $ cat /tmp/build/perf/feature/test-all.make.output
  test-all.c: In function ‘main’:
  test-all.c:236:2: error: implicit declaration of function ‘main_test_libzstd’; did you mean ‘main_test_zstd’? [-Werror=implicit-function-declaration]
    main_test_libzstd();
    ^~~~~~~~~~~~~~~~~
    main_test_zstd
  cc1: all warnings being treated as errors
  $

I.e. what was supposed to be the fast path feature test was _always_
failing, duh, fix it.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Alexey Budankov <alexey.budankov@linux.intel.com>
Fixes: 3b1c5d9659 ("tools build: Implement libzstd feature check, LIBZSTD_DIR and NO_LIBZSTD defines")
Link: https://lkml.kernel.org/n/tip-ma4abk0utroiw4mwpmvnjlru@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-06-18 18:44:24 -03:00
..
.gitignore
Makefile
test-all.c
test-backtrace.c
test-bionic.c
test-bpf.c
test-clang.cpp
test-compile.c
test-cplus-demangle.c
test-cxx.cpp
test-disassembler-four-args.c
test-dwarf.c
test-dwarf_getlocations.c
test-eventfd.c
test-fortify-source.c
test-get_cpuid.c
test-get_current_dir_name.c
test-gettid.c
test-glibc.c
test-gtk2-infobar.c
test-gtk2.c
test-hello.c
test-jvmti-cmlr.c
test-jvmti.c
test-libaio.c
test-libaudit.c
test-libbabeltrace.c
test-libbfd.c
test-libcrypto.c
test-libdw-dwarf-unwind.c
test-libelf-gelf_getnote.c
test-libelf-getphdrnum.c
test-libelf-getshdrstrndx.c
test-libelf-mmap.c
test-libelf.c
test-libnuma.c
test-libopencsd.c
test-libperl.c
test-libpython-version.c
test-libpython.c
test-libslang-include-subdir.c
test-libslang.c
test-libunwind-aarch64.c
test-libunwind-arm.c
test-libunwind-debug-frame-aarch64.c
test-libunwind-debug-frame-arm.c
test-libunwind-debug-frame.c
test-libunwind-x86.c
test-libunwind-x86_64.c
test-libunwind.c
test-libzstd.c
test-llvm-version.cpp
test-llvm.cpp
test-lzma.c
test-numa_num_possible_cpus.c
test-pthread-attr-setaffinity-np.c
test-pthread-barrier.c
test-reallocarray.c
test-sched_getcpu.c
test-sdt.c
test-setns.c
test-stackprotector-all.c
test-sync-compare-and-swap.c
test-timerfd.c
test-zlib.c