Ignore:
Timestamp:
Jun 19, 2008, 11:00:47 PM (13 years ago)
Author:
Peter
Message:

adding some stuff in version test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/version_test.cc

    r1292 r1346  
    2626#include "yat/utility/version.h"
    2727
     28#include <gsl/gsl_version.h>
     29
    2830int main(int argc, char* argv[])
    2931
     
    3133  theplu::yat::test::Suite suite(argc, argv);
    3234
    33   suite.out() << "version: " << version() << "\n";
    34   suite.out() << "major: " << major_version() << "\n";
    35   suite.out() << "minor: " << minor_version() << "\n";
    36   suite.out() << "patch: " << patch_version() << "\n";
     35  suite.out() << "API version: " << YAT_VERSION << "\n";
     36  suite.out() << "    major:   " << YAT_MAJOR_VERSION << "\n";
     37  suite.out() << "    minor:   " << YAT_MINOR_VERSION << "\n";
     38  suite.out() << "    patch:   " << YAT_PATCH_VERSION << "\n";
     39
     40  suite.out() << "ABI version: " << version() << "\n";
     41  suite.out() << "    major:   " << major_version() << "\n";
     42  suite.out() << "    minor:   " << minor_version() << "\n";
     43  suite.out() << "    patch:   " << patch_version() << "\n";
     44
     45  suite.out() << "GSL API version: " << GSL_VERSION << "\n";
     46  suite.out() << "GSL ABI version: " << gsl_version << "\n";
    3747
    3848  return suite.return_value();
Note: See TracChangeset for help on using the changeset viewer.