File: test_python_module_0.pro

package info (click to toggle)
gnudatalanguage 0.9.5-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 15,228 kB
  • ctags: 11,455
  • sloc: cpp: 143,352; makefile: 426; sh: 103; ansic: 44; awk: 18; python: 6
file content (20 lines) | stat: -rw-r--r-- 480 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
; by Sylwester Arabas <slayoo@igf.fuw.edu.pl>
;
; assumes the following sequence of events:
; - ./configure
; - make 
; - ./configure --enable-python_module
; - make
; - make check

pro test_python_module_0

  image = '../src/.libs/libgdl.' + (STRlowCASE(!VERSION.OS_NAME) eq 'darwin' ? "dylib" : "so")
  if ~file_test(image) then begin
    message, /conti, image + ' not found'
    exit, status=77
  endif

  if ~file_test('GDL.so') then spawn, 'ln -s ' + image + ' GDL.so'

end