Changeset 7880
- Timestamp:
- 02/28/08 18:57:25
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gnuradio/branches/releases/3.1/gnuradio-core/src/python/gnuradio/gr/qa_wavefile.py
r7808 r7880 26 26 from os.path import getsize 27 27 28 g_in_file = os.path.join (os.getenv ("srcdir"), "test_16bit_1chunk.wav") 29 28 30 class qa_wavefile(gr_unittest.TestCase): 29 31 … … 35 37 36 38 def test_001_checkwavread (self): 37 wf = gr.wavfile_source( "./test_16bit_1chunk.wav")39 wf = gr.wavfile_source(g_in_file) 38 40 self.assertEqual(wf.sample_rate(), 8000) 39 41 40 42 # disabled. Fails on PPC 41 43 def xtest_002_checkwavcopy (self): 42 infile = "test_16bit_1chunk.wav"44 infile = g_in_file 43 45 outfile = "test_out.wav" 44 46 gnuradio/branches/releases/3.1/run_tests.sh.in
r4597 r7880 4 4 # Second argument is absolute path to top of component build directory 5 5 # Third argument is component source directory for qa tests 6 7 # current QA srcdir 8 export srcdir=$3 6 9 7 10 # Where to find my swig generated shared library
