5276bd2181
Changelog: Version 4.2.1 3 October 2010 -fix offsets/addresses were not being reported correctly in test failure messages. Thanks: Anton Sergeev. Version 4.2.0 30 July 2010 -define _FILE_OFFSET_BITS to 64 by default in conf-cc, which causes some 32-bit systems with larger-than-32-bit address spaces to have a 64-bit off_t, allowing testing of larger chunks of memory. Thanks to Steven A. Falco for the suggestion. Let me know if this definition causes problems for anyone. -add tests of 8-bit-wide and 16-bit-wide random writes, to enable verifying the correct operation of hardware. Thanks: Dick Hollenbeck. If these tests trigger unaligned access problems on your platform, you can eliminate these tests by removing the -DTEST_NARROW_WRITES definition from the conf-cc file.
30 lines
867 B
Makefile
30 lines
867 B
Makefile
# $NetBSD: Makefile,v 1.20 2010/10/26 20:22:04 zafer Exp $
|
|
#
|
|
|
|
DISTNAME= memtester-4.2.1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${HOMEPAGE}old-versions/
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= http://pyropus.ca/software/memtester/
|
|
COMMENT= Utility for testing the memory subsystem for faults
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
NOT_FOR_PLATFORM= Interix-*-* # no m[un]lock(2), so not useful anyway
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
DJB_RESTRICTED= NO
|
|
DJB_MAKE_TARGETS= NO
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man8 share/doc/memtester
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && \
|
|
${INSTALL_PROGRAM} memtester ${DESTDIR}${PREFIX}/bin; \
|
|
${INSTALL_MAN} memtester.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8; \
|
|
${INSTALL_DATA} README.tests ${DESTDIR}${PREFIX}/share/doc/memtester
|
|
|
|
.include "../../mk/djbware.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|