File: testoctave.m.in

package info (click to toggle)
calceph 4.0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 15,944 kB
  • sloc: ansic: 21,414; fortran: 4,054; python: 1,569; sh: 197; makefile: 5
file content (17 lines) | stat: -rw-r--r-- 491 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
addpath('@CMAKE_SOURCE_DIR@/mexapi/src')
addpath('@CMAKE_BINARY_DIR@/mexapi/src')
addpath('@CMAKE_CURRENT_SOURCE_DIR@')
addpath('@CMAKE_CURRENT_BINARY_DIR@')
mkoctfile --mex -I'@CMAKE_SOURCE_DIR@/src/' '@CMAKE_SOURCE_DIR@/mexapi/src/interfacemex.c' -L'@CMAKE_BINARY_DIR@/src/' -lcalceph
%quiet normal or verbose
mode="verbose";
success=test("@TEST_FILE_OCTAVE@",mode);
resultat=success
if (success)
disp('all tests are OK')
    exit(0)
else
disp('some tests are BAD')
    exit(1)
end