Skip to content

Commit 79cc9b4

Browse files
captain5050acmel
authored andcommitted
tools build: Remove get_current_dir_name feature check
As perf no longer tests for this feature, and it was the only user, remove the feature test. Signed-off-by: Ian Rogers <irogers@google.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> [ Remove the call to main_test_get_current_dir_name() from main() in test-all.c, otherwise it will always fail ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 062d02a commit 79cc9b4

4 files changed

Lines changed: 0 additions & 21 deletions

File tree

tools/build/Makefile.feature

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ FEATURE_TESTS_BASIC := \
6868
libdw \
6969
eventfd \
7070
fortify-source \
71-
get_current_dir_name \
7271
gettid \
7372
glibc \
7473
libbfd \

tools/build/feature/Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ FILES= \
88
test-libdw.bin \
99
test-eventfd.bin \
1010
test-fortify-source.bin \
11-
test-get_current_dir_name.bin \
1211
test-glibc.bin \
1312
test-gtk2.bin \
1413
test-gtk2-infobar.bin \
@@ -147,9 +146,6 @@ $(OUTPUT)test-libelf.bin:
147146
$(OUTPUT)test-eventfd.bin:
148147
$(BUILD)
149148

150-
$(OUTPUT)test-get_current_dir_name.bin:
151-
$(BUILD)
152-
153149
$(OUTPUT)test-glibc.bin:
154150
$(BUILD)
155151

tools/build/feature/test-all.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@
2222
# include "test-libelf.c"
2323
#undef main
2424

25-
#define main main_test_get_current_dir_name
26-
# include "test-get_current_dir_name.c"
27-
#undef main
28-
2925
#define main main_test_gettid
3026
# include "test-gettid.c"
3127
#undef main
@@ -155,7 +151,6 @@ int main(int argc, char *argv[])
155151
main_test_libpython();
156152
main_test_hello();
157153
main_test_libelf();
158-
main_test_get_current_dir_name();
159154
main_test_gettid();
160155
main_test_glibc();
161156
main_test_libdw();

tools/build/feature/test-get_current_dir_name.c

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)