Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-11-15 10:02:46

0001 import unittest
0002 import os
0003 from pprint import pprint
0004 
0005 from pyjano.jana.user_plugin import PluginCmakeBuildManager
0006 
0007 
0008 class TestPluginCmakeBuildManager(unittest.TestCase):
0009 
0010     #def setUp(self) -> None:
0011 
0012 
0013     # def test_vmeson_beagle(self):
0014     #     bm = PluginCmakeBuildManager('minimal_example')
0015     #     self.assertEqual(bm.config['plugin_path'], 'minimal_example')
0016 
0017     def test_build(self):
0018         bm = PluginCmakeBuildManager('minimal_example', name='MiniPlugin')
0019         pprint(bm.config)
0020         bm.cmake_configure()
0021         bm.build()
0022 
0023 
0024 if __name__ == '__main__':
0025     unittest.main()