Changeset 7e13972 in mainline for kernel/test/mm/slab2.c


Ignore:
Timestamp:
2006-12-12T18:51:06Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cce6acf
Parents:
96348adc
Message:

remove asserts and panics from tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/mm/slab2.c

    r96348adc r7e13972  
    3232#include <proc/thread.h>
    3333#include <arch.h>
    34 #include <panic.h>
    3534#include <mm/frame.h>
    3635#include <memstr.h>
     
    8988                data1 = slab_alloc(cache1, FRAME_ATOMIC);
    9089                if (!data1) {
    91                         panic("Incorrect memory size - use another test.");
     90                        printf("Incorrect memory size - use another test.");
     91                        return;
    9292                }
    9393                memsetb((uintptr_t)data1, ITEM_SIZE, 0);
Note: See TracChangeset for help on using the changeset viewer.