File: test_python_module_0.pro

package info (click to toggle)
gnudatalanguage 0.9.2-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 15,212 kB
  • sloc: cpp: 114,857; sh: 11,170; makefile: 362; awk: 18; python: 6; ansic: 4
file content (20 lines) | stat: -rw-r--r-- 468 bytes parent folder | download
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.' + (!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