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

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

[avr-libc-dev] A little about 'tests' directory.


From: Dmitry K.
Subject: [avr-libc-dev] A little about 'tests' directory.
Date: Tue, 6 Feb 2007 17:08:07 +1000
User-agent: KMail/1.5

Hi.

Now a new directory - tests - is added.

It contains:
~~~~~~~~~~~
.  simulate/
.    progmem.h
.    runtest.sh
.    fplib/
.      add-01.c
.      add-02.c
.      ...
.    math/
.      acos-01.c
.      ...
.    stdlib/
.      atoi-1.c
.      ...
.    string/
.      ffs-1.c
.      ...
.    regression/
.      bug-01929.c
.      ...

Notes about dirs/files:
~~~~~~~~~~~~~~~~~~~~~~
simulate/  - it contains a set of tests which are intented
  to simulate. It is possible another directories, for
  example, to compile or link only.
progmem.h  - to emulate a PROGMEM (check tests by host
  computer).
runtest.sh - script to compile/link/simulate
fplib/     - it contains a set of tests for float point arithm.
add-01.c   - common test unit for '+' operation
add-02.c   - next test unit and so on.
...
regression/ - it contains a set of very short test units
  conserning a concrete bugs. Primirely, for quick checking.

To run:
~~~~~~
An installed simulavr is needed. The simulavr-0.1.2.1 is
suitable, but it is needed to correct divide_by_zero error.
Shortly:
  - expand avr-libc (CVS)
  - bootstrap (if needed)
  - configure
  - make
  - cd to tests/simulate/
  - run ./runtest.sh without any options
For details try ./runtest.sh with '-h' option.

Number of prepared test units is 130 today (not all are
commited now).

Dmitry.





reply via email to

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