Changeset View
Changeset View
Standalone View
Standalone View
bin/test/test_Portage.py
Show All 21 Lines | 16 | def portageTest(self, compiler, architecture): | |||
---|---|---|---|---|---|
22 | for _p in installable: | 22 | for _p in installable: | ||
23 | portage.PortageInstance.getPackageInstance( _p.category, _p.package) | 23 | portage.PortageInstance.getPackageInstance( _p.category, _p.package) | ||
24 | 24 | | |||
25 | 25 | | |||
26 | 26 | | |||
27 | class TestAPI(CraftPortageTest): | 27 | class TestAPI(CraftPortageTest): | ||
28 | 28 | | |||
29 | def test_mingw_x86(self): | 29 | def test_mingw_x86(self): | ||
30 | self.portageTest("mingw4", "x86") | 30 | self.portageTest("windows-mingw-gcc", "x86") | ||
31 | 31 | | |||
32 | def test_mingw_x64(self): | 32 | def test_mingw_x64(self): | ||
33 | self.portageTest("mingw4", "x64") | 33 | self.portageTest("windows-mingw-gcc", "x64") | ||
34 | 34 | | |||
35 | def test_msvc2015_x86(self): | 35 | def test_msvc2015_x86(self): | ||
36 | self.portageTest("msvc2015", "x86") | 36 | self.portageTest("windows-msvc2015-cl", "x86") | ||
37 | 37 | | |||
38 | def test_msvc2015_x64(self): | 38 | def test_msvc2015_x64(self): | ||
39 | self.portageTest("msvc2015", "x64") | 39 | self.portageTest("windows-msvc2015-cl", "x64") |