Changeset 6a5b999 in mainline


Ignore:
Timestamp:
2013-11-15T08:45:46Z (10 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3b04143
Parents:
91e22dc
Message:

Add basic test for setjmp/longjmp functions

Following profiles were tested in simulators and appears to work:
amd64, ia32, arm32/integratorcp, mips32/msim and ppc32.

Location:
uspace/app/tester
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/Makefile

    r91e22dc r6a5b999  
    3737        util.c \
    3838        thread/thread1.c \
     39        thread/setjmp1.c \
    3940        print/print1.c \
    4041        print/print2.c \
  • uspace/app/tester/tester.c

    r91e22dc r6a5b999  
    4848test_t tests[] = {
    4949#include "thread/thread1.def"
     50#include "thread/setjmp1.def"
    5051#include "print/print1.def"
    5152#include "print/print2.def"
  • uspace/app/tester/tester.h

    r91e22dc r6a5b999  
    3939#include <stdbool.h>
    4040#include <stacktrace.h>
     41#include <stdio.h>
    4142
    4243#define IPC_TEST_SERVICE  10240
     
    8081
    8182extern const char *test_thread1(void);
     83extern const char *test_setjmp1(void);
    8284extern const char *test_print1(void);
    8385extern const char *test_print2(void);
Note: See TracChangeset for help on using the changeset viewer.