Changeset 165 for trunk/test/src


Ignore:
Timestamp:
Jan 31, 2006, 2:49:49 PM (19 years ago)
Author:
dkearney
Message:

1) removing matlab and octave tests for put*id functions
2) adding old fortran examples
3) minor changes to matlab and octave to fix rpUnitsGetBasis
4) rpUnitsMakeMetric does not work in matlab
5) changes to fortran bindings to return proper error codes.
6) added debugging to matlab compiling options and changed outdir location in Makefile

Location:
trunk/test/src
Files:
1 added
4 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/src/RpMatlab_test.m

    r164 r165  
    2222%
    2323% cd test
    24 % matlab -nodisplay -r path\(path,\'src\'\),infile=\'rplib_test.xml\',RpMatlab_test
     24% matlab -nodisplay -r path\(path,\'src\'\),path\(path,\'src\/matlab\'\),infile=\'rplib_test.xml\',RpMatlab_test
    2525
    2626%path(path,src');
     
    5555err = test_node_id(lib,'input.number(min)');
    5656err = test_node_type(lib,'input.number(min)');
    57 err = test_put(lib,'output.curve(result).xy(f12)','12 13',' ',1);
     57err = test_put(lib,'output.curve(result).xy(f12)','12 13',1);
    5858err = test_put_dbl(lib,'output.curve(result).xy(f13)',22,1);
    5959err = test_put_dbl(lib,'output.curve(result).xy(f14)',0,1);
  • trunk/test/src/RpOctave_test.m

    r155 r165  
    4545err = test_node_id(lib,'input.number(min)');
    4646err = test_node_type(lib,'input.number(min)');
    47 err = test_put(lib,'output.curve(result).xy(f12)','12 13','',1);
     47err = test_put(lib,'output.curve(result).xy(f12)','12 13',1);
    4848err = test_put_dbl(lib,'output.curve(result).xy(f13)',22,1);
    4949err = test_put_dbl(lib,'output.curve(result).xy(f14)',0,1);
  • trunk/test/src/matlab/test_put.m

    r154 r165  
    1313% ======================================================================
    1414
    15 function [err] = test_put(libHandle,path,value,id,append)
     15function [err] = test_put(libHandle,path,value,append)
    1616    err = 1;
    1717    disp(sprintf('\n\nTESTING rpLibPut\n'));
    18     [err] = rpLibPut(libHandle,path,value,id,append);
     18    [err] = rpLibPut(libHandle,path,value,append);
    1919    if ~err
    20         if ~strcmp(id,'')
    21             pathID = [path,'(',id,')']
    22         else
    23             pathID = path
    24         end
    25         [retStr, err] = rpLibGet(libHandle,pathID);
     20        [retStr, err] = rpLibGet(libHandle,path);
    2621        disp(sprintf ('retStr = %s\n',retStr));
    2722        if ~err
Note: See TracChangeset for help on using the changeset viewer.