@@ -1493,29 +1493,25 @@ def test_jenkins_hack_hybrid_for_purecap_rootfs_prefix_none(monkeypatch):
1493
1493
cheribsd_morello_purecap = _get_target_instance ("cheribsd-morello-purecap" , config , BuildCHERIBSD )
1494
1494
# FIXME: we implicitly add /opt/morello-purecap for the rootfs dir here which does not make any sense
1495
1495
assert cheribsd_morello_purecap .target_info .install_prefix_dirname == "morello-purecap"
1496
- assert cheribsd_morello_purecap .install_dir == Path ("/tmp/tarball/opt/morello-purecap" )
1497
- assert cheribsd_morello_purecap .rootfs_dir == Path ("/tmp/tarball/opt/morello-purecap" )
1498
- # FIXME: assert cheribsd_morello_purecap.install_dir == Path("/tmp/tarball")
1499
- # FIXME: assert cheribsd_morello_purecap.rootfs_dir == Path("/tmp/tarball")
1496
+ assert cheribsd_morello_purecap .install_dir == Path ("/tmp/tarball" )
1497
+ assert cheribsd_morello_purecap .rootfs_dir == Path ("/tmp/tarball" )
1500
1498
# When building against the rootfs we do want the prefix though:
1501
1499
gmp_morello_purecap = _get_target_instance ("gmp-morello-purecap" , config , Project )
1502
1500
assert gmp_morello_purecap .crosscompile_target .is_cheri_purecap ()
1503
1501
assert gmp_morello_purecap .target_info .install_prefix_dirname == "morello-purecap"
1504
1502
assert gmp_morello_purecap .install_dir == Path ("/tmp/tarball/opt/morello-purecap" )
1505
- assert gmp_morello_purecap .rootfs_dir == Path ("/tmp/tarball/opt/morello-purecap" )
1506
- # FIXME: gmp_morello_purecap.rootfs_dir == Path("/tmp/tarball")
1503
+ assert gmp_morello_purecap .rootfs_dir == Path ("/tmp/tarball" )
1507
1504
assert gmp_morello_purecap .rootfs_dir == cheribsd_morello_purecap .install_dir
1508
1505
1509
1506
# The -hybrid-for-purecap-rootfs should install to the same rootfs but a different prefix:
1510
1507
gmp_morello_hybrid_for_purecap = _get_target_instance ("gmp-morello-hybrid-for-purecap-rootfs" , config , Project )
1511
1508
assert gmp_morello_hybrid_for_purecap .crosscompile_target .is_cheri_hybrid ()
1512
1509
assert gmp_morello_hybrid_for_purecap .target_info .install_prefix_dirname == "morello-hybrid"
1513
1510
assert gmp_morello_hybrid_for_purecap .install_dir == Path ("/tmp/tarball/opt/morello-hybrid" )
1511
+ # The rootfs should be the same as the gmp-purecap one:
1512
+ assert gmp_morello_hybrid_for_purecap .rootfs_dir == gmp_morello_purecap .rootfs_dir
1514
1513
assert gmp_morello_hybrid_for_purecap .rootfs_dir == cheribsd_morello_purecap .install_dir
1515
- # FIXME: rootfs should be the same as the gmp-purecap
1516
- # FIXME: assert gmp_morello_hybrid_for_purecap.rootfs_dir == gmp_morello_purecap.rootfs_dir
1517
- # FIXME: gmp_morello_hybrid_for_purecap.rootfs_dir == Path("/tmp/tarball")
1518
- assert gmp_morello_hybrid_for_purecap .rootfs_dir == Path ("/tmp/tarball/opt/morello-purecap" )
1514
+ assert gmp_morello_hybrid_for_purecap .rootfs_dir == Path ("/tmp/tarball" )
1519
1515
1520
1516
1521
1517
# Another regression test, explicitly overriding the installation directory triggered an assertion
0 commit comments