• Arnaldo Carvalho de Melo's avatar
    tools build: Fix removal of feature-sync-compare-and-swap feature detection · e8c04ea0
    Arnaldo Carvalho de Melo authored
    The patch removing the feature-sync-compare-and-swap feature detection
    didn't remove the call to main_test_sync_compare_and_swap(), making the
    'test-all' case fail an all the feature tests to be performed
    individually:
    
      $ cat /tmp/build/perf/feature/test-all.make.output
      In file included from test-all.c:18:
      test-libpython-version.c:5:10: error: #error
          5 |         #error
            |          ^~~~~
      test-all.c: In function ‘main’:
      test-all.c:203:9: error: implicit declaration of function ‘main_test_sync_compare_and_swap’ [-Werror=implicit-function-declaration]
        203 |         main_test_sync_compare_and_swap(argc, argv);
            |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cc1: all warnings being treated as errors
      $
    
    Fix it, now to figure out what is that test-libpython-version.c
    problem...
    
    Fixes: 60fa754b ("tools: Remove feature-sync-compare-and-swap feature detection")
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: Leo Yan <leo.yan@linaro.org>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
    Cc: Mike Leach <mike.leach@linaro.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Link: https://lore.kernel.org/lkml/YZU9Fe0sgkHSXeC2@kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    e8c04ea0
test-all.c 4.52 KB