mirror of
https://github.com/google/liblc3.git
synced 2026-05-29 16:15:50 +00:00
test: Import LC3 C module without assuming it's locally gnerated
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
import build.lc3 as lc3
|
import lc3
|
||||||
import tables as T, appendix_c as C
|
import tables as T, appendix_c as C
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
import build.lc3 as lc3
|
import lc3
|
||||||
import tables as T, appendix_c as C
|
import tables as T, appendix_c as C
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -21,7 +21,7 @@ import scipy.io.wavfile as wavfile
|
|||||||
import struct
|
import struct
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
import build.lc3 as lc3
|
import lc3
|
||||||
import tables as T, appendix_c as C
|
import tables as T, appendix_c as C
|
||||||
|
|
||||||
import mdct, energy, bwdet, sns, tns, spec, ltpf
|
import mdct, energy, bwdet, sns, tns, spec, ltpf
|
||||||
|
|||||||
+1
-1
@@ -21,7 +21,7 @@ import scipy.io.wavfile as wavfile
|
|||||||
import struct
|
import struct
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
import build.lc3 as lc3
|
import lc3
|
||||||
import tables as T, appendix_c as C
|
import tables as T, appendix_c as C
|
||||||
|
|
||||||
import attdet, ltpf
|
import attdet, ltpf
|
||||||
|
|||||||
+1
-1
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
import build.lc3 as lc3
|
import lc3
|
||||||
import tables as T, appendix_c as C
|
import tables as T, appendix_c as C
|
||||||
|
|
||||||
### ------------------------------------------------------------------------ ###
|
### ------------------------------------------------------------------------ ###
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
import scipy.signal as signal
|
import scipy.signal as signal
|
||||||
|
|
||||||
import build.lc3 as lc3
|
import lc3
|
||||||
import tables as T, appendix_c as C
|
import tables as T, appendix_c as C
|
||||||
|
|
||||||
### ------------------------------------------------------------------------ ###
|
### ------------------------------------------------------------------------ ###
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
TEST_DIR := test
|
TEST_DIR := test
|
||||||
|
|
||||||
test_py:
|
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
|
.PHONY: test test-clean
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
import scipy.fft
|
import scipy.fft
|
||||||
|
|
||||||
import build.lc3 as lc3
|
import lc3
|
||||||
import tables as T, appendix_c as C
|
import tables as T, appendix_c as C
|
||||||
|
|
||||||
### ------------------------------------------------------------------------ ###
|
### ------------------------------------------------------------------------ ###
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
import scipy.fftpack as fftpack
|
import scipy.fftpack as fftpack
|
||||||
|
|
||||||
import build.lc3 as lc3
|
import lc3
|
||||||
import tables as T, appendix_c as C
|
import tables as T, appendix_c as C
|
||||||
|
|
||||||
### ------------------------------------------------------------------------ ###
|
### ------------------------------------------------------------------------ ###
|
||||||
|
|||||||
+1
-1
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
import build.lc3 as lc3
|
import lc3
|
||||||
import tables as T, appendix_c as C
|
import tables as T, appendix_c as C
|
||||||
|
|
||||||
import bwdet as m_bwdet
|
import bwdet as m_bwdet
|
||||||
|
|||||||
+1
-1
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
import build.lc3 as lc3
|
import lc3
|
||||||
import tables as T, appendix_c as C
|
import tables as T, appendix_c as C
|
||||||
|
|
||||||
### ------------------------------------------------------------------------ ###
|
### ------------------------------------------------------------------------ ###
|
||||||
|
|||||||
Reference in New Issue
Block a user