# Not showing all the tests in TMVA-DNN

**URL:** <https://root-forum.cern.ch/t/not-showing-all-the-tests-in-tmva-dnn/29038>\
**Category:** TMVA\
**Created:** [May 16, 2018, 5:00pm UTC](https://root-forum.cern.ch/t/not-showing-all-the-tests-in-tmva-dnn/29038 "2018-05-16T17:00:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![harshit.prasad](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/harshit.prasad/32/15805_2.png) [@harshit.prasad](https://root-forum.cern.ch/u/harshit.prasad)\
**Post date:** [May 16, 2018, 5:00pm UTC](https://root-forum.cern.ch/t/not-showing-all-the-tests-in-tmva-dnn/29038/1 "2018-05-16T17:00:26Z")

</div>

Hello everyone,

I’m trying to run tests in the master branch (updated) of TMVA-DNN. There are in-total 33 DNN tests and 13 CNN tests. I’m running tests using `ctest -R "TMVA-DNN*" -j4` for DNN tests and for CNN tests, I’m running `ctest -R "TMVA-DNN-CNN*" -j4`.

For the DNN tests, it only shows me 7 tests being passed and shows in-total 7 tests. Also, when I perform CNN tests, it says “no tests were found!”

 ![44%20PM](https://root-forum.cern.ch/uploads/default/original/3X/3/7/37b9d1c20fa98d30a800c67ca2a9f5fbc9cdb8a8.png)

It would be great if anyone can help me out where I’m doing the mistake. My working machine - Mac OS High Sierra v10.13.1

---

<div class="post-metadata">

**Author:** ![kialbert](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/kialbert/32/16537_2.png) [@kialbert](https://root-forum.cern.ch/u/kialbert)\
**Post date:** [May 16, 2018, 5:18pm UTC](https://root-forum.cern.ch/t/not-showing-all-the-tests-in-tmva-dnn/29038/2 "2018-05-16T17:18:06Z")

</div>

Hi and welcome to the forums 😉

What build options did you pass to `cmake` when you configured the project?  
What is the contents of the `$ROOTSRC/tmva/tmva/test/DNN` and `$ROOTSRC/tmva/tmva/test/DNN/CNN` directories?

A posting of the output of ´cat $ROOTSRC/tmva/tmva/test/DNN/CNN/CMakeLists.txt´ could also be helpful!

Cheers,  
Kim

---

<div class="post-metadata">

**Author:** ![harshit.prasad](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/harshit.prasad/32/15805_2.png) [@harshit.prasad](https://root-forum.cern.ch/u/harshit.prasad)\
**Post date:** [May 16, 2018, 5:33pm UTC](https://root-forum.cern.ch/t/not-showing-all-the-tests-in-tmva-dnn/29038/3 "2018-05-16T17:33:21Z")

</div>

Hi @kialbert 🙂

I used `cmake -Dtesting=ON ../`from `root` directory and then `cmake --build .`

> A posting of the output of ´cat $ROOTSRC/tmva/tmva/test/DNN/CNN/CMakeLists.txt´ could also be helpful!

I’m getting this output:

```auto
~/Desktop/gsoc-rnn/root [master] $ cat $ROOTSRC/tmva/tmva/test/DNN/CNN/CMakeLists.txt
cat: /tmva/tmva/test/DNN/CNN/CMakeLists.txt: No such file or directory

```

Although, I looked into the `CNN/CMakeLists.txt`, it exists.

---

<div class="post-metadata">

**Author:** ![kialbert](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/kialbert/32/16537_2.png) [@kialbert](https://root-forum.cern.ch/u/kialbert)\
**Post date:** [May 16, 2018, 5:35pm UTC](https://root-forum.cern.ch/t/not-showing-all-the-tests-in-tmva-dnn/29038/4 "2018-05-16T17:35:31Z")

</div>

Hi,

Ah, then make sure you have checked out the master branch or that you have pulled in recent changes!

Cheers,  
Kim

---

<div class="post-metadata">

**Author:** ![harshit.prasad](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/harshit.prasad/32/15805_2.png) [@harshit.prasad](https://root-forum.cern.ch/u/harshit.prasad)\
**Post date:** [May 17, 2018, 12:34am UTC](https://root-forum.cern.ch/t/not-showing-all-the-tests-in-tmva-dnn/29038/6 "2018-05-17T00:34:33Z")

</div>

Hi @kialbert

Thank you for helping me out. I was building the project in wrong way due to which it was not showing all tests. I’ve now build it correctly and running the tests command is showing me all the tests. 🙂
