Run YuE2 music profiles through audio.cpp with WAV API and test UI
This commit is contained in:
@@ -32,7 +32,7 @@ class AudioCppTests(unittest.TestCase):
|
||||
with patch.object(runtime,'_command',side_effect=command),patch('subprocess.check_output',return_value='12.0\n8.6\n'):runtime._run()
|
||||
self.assertEqual(runtime.job['state'],'complete')
|
||||
self.assertTrue(runtime.status()['installed'])
|
||||
self.assertFalse(runtime.status()['adapter_ready'])
|
||||
self.assertTrue(runtime.status()['adapter_ready'])
|
||||
self.assertIn('-DCMAKE_CUDA_ARCHITECTURES=120;86',commands[3])
|
||||
self.assertEqual(commands[-1][-1],'--help')
|
||||
self.assertEqual(Path(root,'a'*32,'ready').read_text(),REVISION)
|
||||
|
||||
Reference in New Issue
Block a user