NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/45619: Allow atf tests to request a minimum amount of memory



>Number:         45619
>Category:       bin
>Synopsis:       Allow atf tests to request a minimum amount of memory
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 16 14:50:01 +0000 2011
>Originator:     Julio Merino
>Release:        NetBSD 5.1_STABLE
>Organization:
Julio Merino
>Environment:
        
        
System: NetBSD homeworld.netbsd.org 5.1_STABLE NetBSD 5.1_STABLE (NBMAIL) #1: 
Tue Jul 19 18:12:36 UTC 2011 
root%franklin.NetBSD.org@localhost:/home/netbsd/5/amd64/kern-compile/NBMAIL 
amd64
Architecture: x86_64
Machine: amd64
>Description:
        The lib/libtre/t_exhaust test seems to only be meaningful on systems
        with a certain amount of physical memory.

        Christos Zoulas suggests in [1] that we could abstract this as a new
        "require.memory" test-case property enforced by atf-run.  This property
        would specify the minimum amount of physical memory required by the
        test, and the test would be skipped if the machine has less memory than
        requested.  In NetBSD, we can get this value from the hw.usermem64
        sysctl.

        1: http://mail-index.netbsd.org/current-users/2011/11/15/msg018289.html
>How-To-Repeat:
        
>Fix:
        

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index