diff options
author | Conrad Meyer <cem@FreeBSD.org> | 2019-11-20 19:43:34 +0000 |
---|---|---|
committer | Conrad Meyer <cem@FreeBSD.org> | 2019-11-20 19:43:34 +0000 |
commit | 61287be181899065fc700ea566525c93677bf848 (patch) | |
tree | f9e255ace4c6f0d6376264b67b5bde8b8d161ab8 /contrib/netbsd-tests | |
parent | 0877992e6b1b54ba14f82406d951da6140fab84b (diff) | |
download | src-test2-61287be181899065fc700ea566525c93677bf848.tar.gz src-test2-61287be181899065fc700ea566525c93677bf848.zip |
Re-apply fixed r354847
unifdef(1): Improve worst-case bound on symbol resolution
Use RB_TREE to make some algorithms O(lg N) and O(N lg N) instead of O(N)
and O(N^2).
While here, remove arbitrarily limit on number of macros understood.
Reverts r354877 and r354878, which disabled the (correct) test.
PR: 242095
Reported by: lwhsu
Notes
Notes:
svn path=/head/; revision=354912
Diffstat (limited to 'contrib/netbsd-tests')
-rwxr-xr-x | contrib/netbsd-tests/usr.bin/unifdef/t_basic.sh | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/contrib/netbsd-tests/usr.bin/unifdef/t_basic.sh b/contrib/netbsd-tests/usr.bin/unifdef/t_basic.sh index 86acbe0db411..751c303075b8 100755 --- a/contrib/netbsd-tests/usr.bin/unifdef/t_basic.sh +++ b/contrib/netbsd-tests/usr.bin/unifdef/t_basic.sh @@ -35,9 +35,6 @@ basic_head() { } basic_body() { - if [ "$(atf_config_get ci false)" = "true" ]; then - atf_skip "https://bugs.freebsd.org/242095" - fi atf_check -s ignore -o file:$(atf_get_srcdir)/d_basic.out \ -x "unifdef -U__FreeBSD__ $(atf_get_srcdir)/d_basic.in" |