Changeset 18 for sources/test_regression


Ignore:
Timestamp:
Apr 15, 2009, 10:14:21 AM (16 years ago)
Author:
buchmann
Message:

Fix:

  • Disable checkings about the SOCVIEW environment variable. SOCVIEW is optional.
  • Add missing system header includes
  • Add some potential signal order and signal graph to the testbench 29032005
  • Add a new testbench : 15042009
    • Check sc_uint operators with size = 36 (> 32)
Location:
sources/test_regression
Files:
6 added
2 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • sources/test_regression/16122005/system.cpp

    r1 r18  
    33#include <fstream>
    44#include <vector>
     5#include <cstring> //strcmp
    56
    67#define ASSERT(x) { if (!(x)) { \
  • sources/test_regression/17032005/system.cpp

    r1 r18  
    33#include <iostream>
    44#include <fstream>
     5#include <cstdlib> //exit
    56
    67#define ASSERT(x) \
  • sources/test_regression/25032005/Makefile

    r15 r18  
    1414        ./system_systemc.x ; \
    1515        ./system_systemcass.x --p --t || eval ${failcom} ; \
    16         ((tail --lines=+3 signal_graph.dot  | diff signal_graph_reference.dot -)\
    17         || (tail -n +3 signal_graph.dot | diff signal_graph_reference2.dot -)) \
    18         || eval ${failcom} ; \
    19        
     16        ((tail --lines=+3 signal_graph.dot  | diff signal_graph_reference.dot -) || (tail -n +3 signal_graph.dot | diff signal_graph_reference2.dot -)) || eval ${failcom}
    2017        tail --lines=+3 process_order.dot | diff process_order_reference.dot -
    2118        diff signal_order_reference.txt signal_order.txt
  • sources/test_regression/28102005/system.cpp

    r1 r18  
    11#include "systemc.h"
    22#include <iostream>
    3 #include <string>
     3#include <cstring>
    44
    55#define ASSERT(x) \
  • sources/test_regression/29032005/Makefile

    r15 r18  
    1616  (tail -n +3 port_graph.dot | diff port_graph_reference.dot -) || eval ${failcom} ; \
    1717  ((tail -n +3 signal_graph.dot | diff signal_graph_reference.dot -) \
    18   || (tail -n +3 signal_graph.dot | diff signal_graph_reference2.dot -)) \
     18  || (tail -n +3 signal_graph.dot | diff signal_graph_reference2.dot -) \
     19  || (tail -n +3 signal_graph.dot | diff signal_graph_reference3.dot -)) \
    1920  || eval ${failcom} ; \
    2021  ((tail -n +3 process_order.dot | diff process_order_reference.dot -) \
    21   || (tail -n +3 process_order.dot | diff process_order_reference2.dot -)) \
     22  || (tail -n +3 process_order.dot | diff process_order_reference2.dot -)  \
     23  || (tail -n +3 process_order.dot | diff process_order_reference3.dot -)) \
    2224  || eval ${failcom} ; \
    2325  (diff signal_order_reference.txt signal_order.txt) \
    2426  || (diff signal_order_reference2.txt signal_order.txt) \
     27  || (diff signal_order_reference3.txt signal_order.txt) \
    2528  || eval ${failcom} ; \
    2629  done
  • sources/test_regression/Makefile

    r16 r18  
    4545# 16022007  : check --nobanner option
    4646# 23032007  : check multiple execution on the same computer
     47# 15042009  : check sc_uint operators (==, =, <<=, +=)
    4748
    4849## Uncomment the following variable if you want to compile and run the
     
    8182      20122006 \
    8283      16022007 \
     84      15042009 \
    8385      ${SOCVIEW_TEST} \
    8486#
  • sources/test_regression/env.mk

    r13 r18  
    6363$(error SYSTEMCASS is not defined.)
    6464endif
    65 ifndef SOCVIEW
    66 $(error SOCVIEW is not defined.)
    67 endif
     65#ifndef SOCVIEW
     66#$(error SOCVIEW is not defined. This environment variable is optional.)
     67#endif
    6868
    6969failcom   = 'exit 1'
Note: See TracChangeset for help on using the changeset viewer.