forked from PAWPAW-Mirror/lib_xua
Make sure dir is off cwd
This commit is contained in:
@@ -21,7 +21,7 @@ def cd(newdir, cleanup=lambda: True):
|
||||
|
||||
@contextlib.contextmanager
|
||||
def tempdir():
|
||||
dirpath = tempfile.mkdtemp()
|
||||
dirpath = tempfile.mkdtemp(dir=os.getcwd())
|
||||
def cleanup():
|
||||
shutil.rmtree(dirpath)
|
||||
with cd(dirpath, cleanup):
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
unsigned rndm = RANDOM_SEED;
|
||||
|
||||
|
||||
void test_queue(void) {
|
||||
void test_midi_queue(void) {
|
||||
queue_t symbol_fifo;
|
||||
unsigned symbol_fifo_storage[USB_MIDI_DEVICE_OUT_FIFO_SIZE];
|
||||
queue_init_wrap(&symbol_fifo, ARRAY_SIZE(symbol_fifo_storage));
|
||||
|
||||
Reference in New Issue
Block a user