mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 18:32:49 -04:00
This first step is mostly to prevent the code from rotting even further and to ensure these do not get wiped when fmake's code is removed from the tree. These tests are currently being skipped because they detect the underlying make is not fmake and thus disable themselves -- and the reason is that some of the tests fail, possibly due to legitimate bugs. Enabling them to run against bmake will come separately. Lastly, it would be ideal if these tests were fed upstream but they are not ready for that yet. In the interim, just put them under usr.bin/bmake/ while we sort things out. The existence of a different unit-tests directory within here makes me feel less guilty about this. Change confirmed working with a clean amd64 build.
61 lines
1.2 KiB
Makefile
61 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
# This test checks the code reading archive files. The archive file
|
|
# is a BSD4.4 file with __.SYMTAB and #1/N long file names.
|
|
|
|
#############################################################################
|
|
|
|
# should be ok
|
|
test1: libtest.a(short.o)
|
|
@:
|
|
|
|
libtest.a(short.o): ood
|
|
@:
|
|
|
|
#############################################################################
|
|
|
|
# should be ok
|
|
test2: libtest.a(exactly15char.o)
|
|
@:
|
|
|
|
libtest.a(exactly15char.o): ood
|
|
@:
|
|
|
|
#############################################################################
|
|
|
|
# should be ok
|
|
test3: libtest.a(exactly16chars.o)
|
|
@:
|
|
|
|
libtest.a(exactly16chars.o): ood
|
|
@:
|
|
|
|
#############################################################################
|
|
|
|
# should be ok
|
|
test4: libtest.a(verylongobjectname.o)
|
|
@:
|
|
|
|
libtest.a(verylongobjectname.o): ood
|
|
@:
|
|
|
|
#############################################################################
|
|
|
|
# Truncated to 16 characters
|
|
# should fail
|
|
test5: libtest.a(verylongobjectna)
|
|
@:
|
|
|
|
#############################################################################
|
|
|
|
# Truncated to 15 characters
|
|
# should fail
|
|
test6: libtest.a(verylongobjectn)
|
|
@:
|
|
|
|
#############################################################################
|
|
|
|
# should fail
|
|
test7: libtest.a(\#1/20)
|
|
@:
|
|
|
|
ood:
|