Ignore:
Timestamp:
2014-09-19T08:23:01Z (11 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c85a57f
Parents:
15d0046
Message:

Update PCUT to newest version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/pcut/update-from-master.sh

    r15d0046 r9b20126  
    5151$RUN rm -f CMakeLists.txt *.cmake run_test.sh
    5252
    53 cat >Makefile <<'EOF_MAKEFILE'
     53cat >Makefile <<'EOF_MAKEFILE_HEAD'
    5454#
    5555# This file was generated by call to update-from-master.sh
     
    5757
    5858USPACE_PREFIX = ../..
     59PCUT_TEST_PREFIX = test-libpcut-
     60
     61EXTRA_OUTPUT = \
     62EOF_MAKEFILE_HEAD
     63
     64for testfile in tests/*.expected; do
     65        testname=`basename "$testfile" .expected`
     66        echo "  \$(PCUT_TEST_PREFIX)${testname}\$(PCUT_TEST_SUFFIX) \\"
     67done | sed '$s/\\$//' >>Makefile
     68
     69cat >>Makefile <<'EOF_MAKEFILE_TAIL'
    5970
    6071include helenos.mak
     
    6273include $(USPACE_PREFIX)/Makefile.common
    6374
    64 EOF_MAKEFILE
     75include helenos.test.mak
     76
     77test-libpcut-%: $(OUTPUT)
     78        $(LD) -n $(LFLAGS) -T $(LINKER_SCRIPT) -o $@ $^ $(OUTPUT) $(BASE_LIBS)
     79
     80EOF_MAKEFILE_TAIL
Note: See TracChangeset for help on using the changeset viewer.