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 @@ ...@@ -8,16 +8,18 @@
# Last modifications: 8/5/2012 # Last modifications: 8/5/2012
# Import standard modules # Import standard modules
import os
import sys import sys
import time import time
import random import random
import math import math
# Add common modules and libraries location to path # Add common modules and libraries location to path
sys.path.append('../pts/') cdir = os.path.dirname(os.path.realpath(__file__))
sys.path.append('../pts/gnurabbit/python/') sys.path.append(os.path.join(cdir,'../pts/'))
sys.path.append('../pts/common/') sys.path.append(os.path.join(cdir,'../pts/gnurabbit/python/'))
sys.path.append('../pts/common/fmceeprom/') sys.path.append(os.path.join(cdir,'../pts/common/'))
# Import specific modules # Import specific modules
from sdb import * 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