mirror of
https://github.com/google/liblc3.git
synced 2026-04-27 09:24:49 +00:00
test: Import LC3 C module without assuming it's locally gnerated
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
import numpy as np
|
||||
|
||||
import build.lc3 as lc3
|
||||
import lc3
|
||||
import tables as T, appendix_c as C
|
||||
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
import numpy as np
|
||||
|
||||
import build.lc3 as lc3
|
||||
import lc3
|
||||
import tables as T, appendix_c as C
|
||||
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ import scipy.io.wavfile as wavfile
|
||||
import struct
|
||||
import argparse
|
||||
|
||||
import build.lc3 as lc3
|
||||
import lc3
|
||||
import tables as T, appendix_c as C
|
||||
|
||||
import mdct, energy, bwdet, sns, tns, spec, ltpf
|
||||
|
||||
@@ -21,7 +21,7 @@ import scipy.io.wavfile as wavfile
|
||||
import struct
|
||||
import argparse
|
||||
|
||||
import build.lc3 as lc3
|
||||
import lc3
|
||||
import tables as T, appendix_c as C
|
||||
|
||||
import attdet, ltpf
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
import numpy as np
|
||||
|
||||
import build.lc3 as lc3
|
||||
import lc3
|
||||
import tables as T, appendix_c as C
|
||||
|
||||
### ------------------------------------------------------------------------ ###
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import numpy as np
|
||||
import scipy.signal as signal
|
||||
|
||||
import build.lc3 as lc3
|
||||
import lc3
|
||||
import tables as T, appendix_c as C
|
||||
|
||||
### ------------------------------------------------------------------------ ###
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
TEST_DIR := test
|
||||
|
||||
test_py:
|
||||
$(V)cd $(TEST_DIR) && python3 setup.py && python3 run.py
|
||||
$(V)cd $(TEST_DIR) && python3 setup.py && PYTHONPATH=build python3 run.py
|
||||
|
||||
.PHONY: test test-clean
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import numpy as np
|
||||
import scipy.fft
|
||||
|
||||
import build.lc3 as lc3
|
||||
import lc3
|
||||
import tables as T, appendix_c as C
|
||||
|
||||
### ------------------------------------------------------------------------ ###
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import numpy as np
|
||||
import scipy.fftpack as fftpack
|
||||
|
||||
import build.lc3 as lc3
|
||||
import lc3
|
||||
import tables as T, appendix_c as C
|
||||
|
||||
### ------------------------------------------------------------------------ ###
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
import numpy as np
|
||||
|
||||
import build.lc3 as lc3
|
||||
import lc3
|
||||
import tables as T, appendix_c as C
|
||||
|
||||
import bwdet as m_bwdet
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
import numpy as np
|
||||
|
||||
import build.lc3 as lc3
|
||||
import lc3
|
||||
import tables as T, appendix_c as C
|
||||
|
||||
### ------------------------------------------------------------------------ ###
|
||||
|
||||
Reference in New Issue
Block a user