Skip to Content.
Sympa Menu

opal - Re: [Opal] Issues with running OPAL's unit tests.

opal AT

Subject: The OPAL Discussion Forum

List archive

Re: [Opal] Issues with running OPAL's unit tests.

Chronological Thread 
  • From: christof kraus <christof.j.kraus AT>
  • To: "Low, John J." <jlow AT>
  • Cc: "opal AT" <opal AT>
  • Subject: Re: [Opal] Issues with running OPAL's unit tests.
  • Date: Fri, 26 Feb 2016 22:40:53 +0100
  • List-archive: <>
  • List-id: The OPAL Discussion Forum <>

Hi John,

change to the directory tests/tools, then run the install script instead of sourcing it. The script downloads the sources of GTest and compiles them. Finally the script instructs you to set the environment variable GTEST_ROOT, which is not necessary if changed to directory tests/tools in the first step (cmake should then find GTest automaticly).

I'll change the documentation.


On Fri, Feb 26, 2016 at 9:37 PM, Low, John J. <jlow AT> wrote:
I have built OPAL (v1.5.00.1) and I would like to run the unit tests.  The instructions to run the unit tests in appendix A.3 of the user manual are not consistent with the current location of files in the OPAL distribution.  So I am confused.

I found “install_gtest.bash” in /home/jlow/opal/160222/src/tests/tools.  I “sourced” it and it appears to have installed gtest in /home/jlow/opal/160222/src/tests/tools.

Unfortunately I tried to do the next step and the cmake did not work because there were no cmake files for it to work with.  I tried cmaking in  /home/jlow/opal/160222/src and /home/jlow/opal/build without much success. 

Could someone send me updated instructions with current paths on how to run the unit tests?


John J. Low
Principal Computational Science Specialist
Computing, Environment and Life Sciences
Building 240, 2143
9700 South Cass Avenue
Argonne National Laboratory
Argonne, IL 60439.

Archive powered by MHonArc 2.6.19.

Top of Page