avr-libc-dev
[Top][All Lists]
Advanced

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

[avr-libc-dev] [RFC] sleep.h and test framework


From: Theodore A. Roth
Subject: [avr-libc-dev] [RFC] sleep.h and test framework
Date: Tue, 14 Jan 2003 16:23:54 -0800 (PST)

Hi,

Here's the test/example code for sleep.h. It's not the most robust test,
but it found a few mistakes for me, (thus another patch for sleep.h ;-).

Included with the test code is a framework for compiling the test code for
nearly every device with C support. To try it out, unpack the attached
tarball into the top level, apply the patch, run reconf, doconf. From
there cd into test and type make. You should end up with a bunch of device
directories under test/sleep/. The test build will fail if run before
installing the lib.

This one simple test program already uncovered uncovered typos in iom64.h
and iom169.h files.

This is no where near a complete test framework, but seems to be enough to
achive the goal stated here:

  http://mail.nongnu.org/archive/html/avr-libc-dev/2002-09/msg00038.html

Ted Roth

Attachment: sleep_generic-2.diff
Description: Text document

Attachment: test.tar.gz
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]