Changeset bd9829c


Ignore:
Timestamp:
02/07/2015 08:53:20 PM (9 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
cbde784
Parents:
6658e86
Message:

Hopefully fix the systemd testsuite.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd@10835 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter06/systemd.xml

    r6658e86 rbd9829c  
    6969
    7070<screen><userinput remap="pre">patch -Np1 -i ../&systemd-compat-patch;</userinput></screen>
     71
     72    <para>Disable a test case that always fails:</para>
     73
     74<screen><userinput remap="pre">sed -i "s:test/udev-test.pl ::g" Makefile.in</userinput></screen>
    7175
    7276    <para>Prepare systemd for compilation:</para>
     
    174178<screen><userinput remap="make">make LIBRARY_PATH=/tools/lib</userinput></screen>
    175179
    176     <para>If you are going to run the test suite, first prevent a few test
    177     cases from running because they fail in a chroot environment:</para>
    178 
    179 <screen><userinput remap="test">sed -e "s:test/udev-test.pl::g"              \
    180     -e "s:test-bus-cleanup\$(EXEEXT) ::g"    \
    181     -e "s:test-cgroup-mask\$(EXEEXT) ::g"    \
    182     -e "s:test-condition-util\$(EXEEXT) ::g" \
    183     -e "s:test-dhcp6-client\$(EXEEXT) ::g"   \
    184     -e "s:test-engine\$(EXEEXT) ::g"         \
    185     -e "s:test-journal-flush\$(EXEEXT) ::g"  \
    186     -e "s:test-path-util\$(EXEEXT) ::g"      \
    187     -e "s:test-sched-prio\$(EXEEXT) ::g"     \
    188     -e "s:test-strv\$(EXEEXT) ::g"           \
    189     -i Makefile</userinput></screen>
    190 
    191     <para>Since the testsuite largely depends on the
    192     host system kernel configuration, other tests
    193     besides the ones that were previously disabled
    194     may also fail. To test the results, issue:</para>
    195 
    196 <screen><userinput remap="test">make -k check</userinput></screen>
     180    <para>This package has a test suite, but it can only be run after the
     181    package has been installed.</para>
    197182
    198183    <para>Install the package:</para>
     
    221206
    222207    <para>Create the <filename>/etc/machine-id</filename> file needed by
    223     Journald:</para>
     208    <command>systemd-journald</command>:</para>
    224209
    225210<screen><userinput remap="install">systemd-machine-id-setup</userinput></screen>
     211
     212    <para>Since the testsuite largely depends on the host system kernel
     213    configuration, some tests may fail. It also needs a modification in
     214    order not to look for a program that will be installed by Util-Linux
     215    package later in this chapter. To test the results, issue:</para>
     216
     217<screen><userinput remap="test">sed -i "s:minix:ext4:g" src/test/test-path-util.c
     218make LD_LIBRARY_PATH=/tools/lib -k check</userinput></screen>
    226219
    227220  </sect2>
  • packages.ent

    r6658e86 rbd9829c  
    111111<!ENTITY dbus-md5 "dfb810eda8780cf9debf7169b3ca5fe1">
    112112<!ENTITY dbus-home "http://www.freedesktop.org/wiki/Software/dbus">
    113 <!ENTITY dbus-ch6-du "52 MB">
    114 <!ENTITY dbus-ch6-sbu "0.5 SBU">
     113<!ENTITY dbus-ch6-du "42 MB">
     114<!ENTITY dbus-ch6-sbu "0.4 SBU">
    115115
    116116<!ENTITY dejagnu-version "1.5.2">
     
    531531<!ENTITY systemd-md5     "4e2c511b0a7932d7fc9d79822273aac6">
    532532<!ENTITY systemd-home    "http://www.freedesktop.org/wiki/Software/systemd/">
    533 <!ENTITY systemd-ch6-du  "725 MB">
     533<!ENTITY systemd-ch6-du  "753 MB">
    534534<!ENTITY systemd-ch6-sbu "1.8 SBU">
    535535
Note: See TracChangeset for help on using the changeset viewer.