Ignore:
Timestamp:
May 29, 2013, 6:05:44 PM (11 years ago)
Author:
meunier
Message:
  • Tried to fix a problem with echo
  • Started to resolve some tests failing (often because of the test itself)
Location:
sources/test_regression/05092005
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sources/test_regression/05092005/Makefile

    r55 r56  
    55
    66test: $(EXE_SCASS)
    7         @echo -ne "| Testing $$(basename $$(pwd)): " ;
    8         @./$< 2> /dev/null ;
    9         @if [ $$? -eq 0 ] ; then echo "KO" ; else echo "OK" ; fi ;
     7        $(SILENCE)$(ECHO) -ne "| Testing $$(basename $$(pwd)): " ;
     8        $(SILENCE)./$(EXE_SCASS) 2> /dev/null ;
     9        $(SILENCE)if [ $$? -eq 0 ] ; then $(ECHO) -e "$(KO)" ; else $(ECHO) -e "$(OK)" ; fi ;
    1010
    1111
  • sources/test_regression/05092005/system.cpp

    r55 r56  
    33
    44#include "test.h"
     5
     6/*
     7 * Test for detecting an overflow in an array of sc_signal.
     8 * I (QM) am not sure it is possible to detect that actually...
     9 */
    510
    611using namespace std;
     
    2126    a.i(s[0]);
    2227    a.o(s[1]);
    23     b.i(s[5]); // Wrong array index. This BUG should be detected.
     28    b.i(s[5]); // Wrong array index
    2429    b.o(s[2]);
    2530
Note: See TracChangeset for help on using the changeset viewer.