Navigation


Changeset 285:0daf6fc2b751 in freeDiameter for freeDiameter/tests/tests.h


Ignore:
Timestamp:
Apr 30, 2010, 5:55:16 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Added a test case for the app_acct extension

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freeDiameter/tests/tests.h

    r258 r285  
    125125        int c;
    126126        int no_timeout = 0;
    127         while ((c = getopt (argc, argv, "dqn")) != -1) {
     127        while ((c = getopt (argc, argv, "dqnf:")) != -1) {
    128128                switch (c) {
    129129                        case 'd':       /* Increase verbosity of debug messages.  */
     
    139139                                break;
    140140                       
     141                        case 'f':       /* Full debug for the function with this name.  */
     142                                #ifdef DEBUG
     143                                fd_debug_one_function = optarg;
     144                                #else /* DEBUG */
     145                                TRACE_DEBUG(INFO, "Error: must compile with DEBUG support to use this feature");
     146                                return EINVAL;
     147                                #endif /* DEBUG */
     148                                break;
     149                               
    141150                        default:        /* bug: option not considered.  */
    142151                                return;
Note: See TracChangeset for help on using the changeset viewer.