Changeset 2177
- Timestamp:
- Oct 20, 2004, 10:03:10 AM (22 years ago)
- Location:
- trunk/psLib/test/astronomy
- Files:
-
- 1 added
- 2 edited
-
Makefile (modified) (2 diffs)
-
tst_psTime_02.c (modified) (3 diffs)
-
tst_psTime_03.c (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astronomy/Makefile
r2151 r2177 3 3 ## Makefile: test/astronomy 4 4 ## 5 ## $Revision: 1.2 0$ $Name: not supported by cvs2svn $6 ## $Date: 2004-10- 15 19:10:51$5 ## $Revision: 1.21 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2004-10-20 20:02:46 $ 7 7 ## 8 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 21 21 TARGET = tst_psTime_01 \ 22 22 tst_psTime_02 \ 23 tst_psTime_03 \ 23 24 tst_psMetadataIO \ 24 25 tst_psMetadata_01 \ -
trunk/psLib/test/astronomy/tst_psTime_02.c
r2048 r2177 6 6 * A) Incorrect ISO time data 7 7 * B) Attempt to use null timeval 8 * C) Free data 8 9 * 9 10 * @author Ross Harman, MHPCC 10 11 * 11 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-10- 12 01:34:09$12 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-10-20 20:02:46 $ 13 14 * 14 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 34 35 35 36 // Test B - Attempt to use null timeval 36 printNegativeTestHeader(stdout,"psTime", "Attempt to use null timeval", 37 "Null value for timeval arg not allowed", 0); 37 printNegativeTestHeader(stdout,"psTime", "Attempt to use null timeval", "Null value for timeval arg not allowed", 0); 38 38 psTimeFromTimeval(NULL); 39 39 printFooter(stdout, "psTime", "Attempt to use null timeval", true); 40 40 41 41 42 // Test C - Free psMetadata43 printPositiveTestHeader(stdout, "ps Metadata", "Test C - Free psMetadata");42 // Test C - Free data 43 printPositiveTestHeader(stdout, "psTime", "Test C - Free data"); 44 44 psMemCheckLeaks(0, NULL, stdout); 45 45 psMemCheckCorruption(0); … … 48 48 printf("ERROR: Found %d bad memory blocks\n", nBad); 49 49 } 50 printFooter(stdout, "psMetadata", "Test C - Free psMetadata", true); 50 printFooter(stdout, "psTime", "Test C - Free data", true); 51 51 52 return 0; 52 53 }
Note:
See TracChangeset
for help on using the changeset viewer.
