libtool: Alter test to expect pass

* tests/duplicate_deps.at: Remove expected failure for testing
  with preserve-dup-deps flag, since it has been fixed.
This commit is contained in:
Ileana Dumitrescu 2024-06-19 21:27:03 +03:00
parent 7f86baed1a
commit 81dda9b5c7
No known key found for this signature in database
GPG Key ID: 6570EA01146F7354

View File

@ -68,8 +68,7 @@ AT_CHECK([$LIBTOOL --mode=link --tag=CC \
$CC $CFLAGS $LDFLAGS -o main$EXEEXT main.$OBJEXT liba.la libb.la liba.la \
&& exit 77],
[1], [ignore], [ignore])
# Other systems need special treatment, which currently fails.
AT_XFAIL_IF([:])
# Other systems need special treatment, so preserve-dup-deps flag is used.
AT_CHECK([$LIBTOOL --mode=link --preserve-dup-deps --tag=CC \
$CC $CFLAGS $LDFLAGS -o main$EXEEXT main.$OBJEXT liba.la libb.la liba.la],
[0], [ignore], [ignore])