<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 10/24/2013 09:58 AM, Abhishek Koneru
      wrote:<br>
    </div>
    <blockquote
      cite="mid:620176068.8359985.1382633897623.JavaMail.root@redhat.com"
      type="cite">
      <pre wrap="">Please review the patch attached, which provides the basic setup for a CI Testing framework.
It is a huge patch. So I have explained the framework and the contents of the patch in another
attached file Test_Framework_Notes. Please go through this document to know what was done in the patch.</pre>
    </blockquote>
    Why is a jar file (pki-tests.jar) being checked into the source
    tree?<br>
    <br>
    Thanks,<br>
    -NGK<br>
    <blockquote
      cite="mid:620176068.8359985.1382633897623.JavaMail.root@redhat.com"
      type="cite">
      <pre wrap="">

This patch has to be applied on the DOGTAG_10_0_BRANCH. I will submit a similar patch for the master branch.

Thanks,
Abhishek

----- Original Message -----
From: "Abhishek Koneru" <a class="moz-txt-link-rfc2396E" href="mailto:akoneru@redhat.com"><akoneru@redhat.com></a>
To: "pki-devel" <a class="moz-txt-link-rfc2396E" href="mailto:pki-devel@redhat.com"><pki-devel@redhat.com></a>
Sent: Monday, October 7, 2013 8:42:05 PM
Subject: [Pki-devel] [PATCH] 72 Continuous Integration Framework - Solutions for tickets #722, 723, 724

Please find the patch which adds all the tests to upstream git on 10.0
branch. It is present at pki/tests in the code tree. 

The junit tests source code and the extensions for Suite junit runner
and the junit.RunNotifier are present at
pki/tests/beaker/rhcs/dev_java_tests/src. The code is compiled to
pki/tests/beaker/rhcs/dev_java_tests/bin. (This has been setup in the
project). Once the project is opened in eclipse the code is compiled
there. Except for the junit4.jar, there are no other requirements for
building the java tests in eclipse. Though for making an rpm of all the
tests we need the following packages installed:

expect, beah, rhts-test-env, beakerlib, beakerlib-redhat, rhts-devel,
beaker-client.

The presence of these packages also provides all the beaker client
functionality.

A compose script, compose_pki_test_package, is added to pki/scripts.
This script when executed, creates a folder X/package.tests(X=pki/..)
and copies all the tests there and builds the rpm. Building a
personalized rpm is possible only when the build is made outside the git
tree. Executing the make-package.sh script inside at
pki/tests/beaker/rhcs is not possible if the tags of the current branch
are different from the master. (Similar problem faced in SVN v<1.7).
Hence the rpm is build outside the pki source tree.

 --- Abhishek

_______________________________________________
Pki-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pki-devel@redhat.com">Pki-devel@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/pki-devel">https://www.redhat.com/mailman/listinfo/pki-devel</a></pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Pki-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pki-devel@redhat.com">Pki-devel@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/pki-devel">https://www.redhat.com/mailman/listinfo/pki-devel</a></pre>
    </blockquote>
    <br>
  </body>
</html>