Changeset 347
- Timestamp:
- 04/16/05 02:01:11 (8 years ago)
- Location:
- trunk/splitpipe
- Files:
-
- 1 added
- 2 modified
-
Makefile (modified) (1 diff)
-
tests/Makefile (added)
-
tests/ringbuffer.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/splitpipe/Makefile
r344 r347 7 7 splitpipe: $(splitpipe_OBJECTS) 8 8 g++ $(splitpipe_OBJECTS) -o $@ 9 9 10 11 check: 12 cd tests; make -
trunk/splitpipe/tests/ringbuffer.cc
r344 r347 82 82 83 83 cerr<<"There are now "<<rb.available()<<" bytes available"<<endl; 84 85 if(rb.available()==0) { 86 cerr<<"*** Everything went well!"<<endl; 87 exit(EXIT_SUCCESS); 88 } 89 exit(EXIT_FAILURE); 84 90 } 85 91 catch(exception &e) 86 92 { 87 93 cerr<<"error: "<<e.what()<<endl; 94 exit(EXIT_FAILURE); 88 95 }