Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-2219

Example tests hang when run in a vpath build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.5
    • None
    • C++ Examples
    • None

    Description

      The example tests (i.e. make check -C examples) do not run in a vpath build. The example programs fail to execute and the test then hangs forever waiting for the expected output.

      ...
      make[2]: Entering directory `/home/ross/svn/qpid/build-vpath/examples'
      ../../cpp/examples/verify_all /home/ross/svn/qpid/build-vpath/../cpp/.. /home/ross/svn/qpid/build-vpath "--no-module-dir --data-dir \"\" --auth no --load-module ../src/.libs/xml.so"
      == /home/ross/svn/qpid/build-vpath/../cpp/../cpp/examples/pub-sub/verify
      ../../cpp/examples/verify: line 61: ./topic_listener: No such file or directory
      ...

      The verify_all script makes no distinction between the source directory and the build directory. The verify scripts are in the source dir but the compiled C++ example programs are in the build dir.

      Attachments

        Activity

          People

            tross Ted Ross
            tross Ted Ross
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: