Commit a5905f77 authored by Matthieu Cattin's avatar Matthieu Cattin

fmc_adc_spec: Fix python path to make the tests work when launched from pts.

parent d313bf3d
......@@ -8,16 +8,18 @@
# Last modifications: 8/5/2012
# Import standard modules
import os
import sys
import time
import random
import math
# Add common modules and libraries location to path
sys.path.append('../pts/')
sys.path.append('../pts/gnurabbit/python/')
sys.path.append('../pts/common/')
sys.path.append('../pts/common/fmceeprom/')
cdir = os.path.dirname(os.path.realpath(__file__))
sys.path.append(os.path.join(cdir,'../pts/'))
sys.path.append(os.path.join(cdir,'../pts/gnurabbit/python/'))
sys.path.append(os.path.join(cdir,'../pts/common/'))
sys.path.append(os.path.join(cdir,'../pts/common/fmceeprom/'))
# Import specific modules
from sdb import *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment