Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors while running tests #77

Open
epsilon-0 opened this issue Oct 15, 2020 · 0 comments
Open

Errors while running tests #77

epsilon-0 opened this issue Oct 15, 2020 · 0 comments

Comments

@epsilon-0
Copy link

I'm trying to run the tests while packaging this for Gentoo and ran into failing tests

Start testing: Oct 15 12:41 -00
----------------------------------------------------------
1/7 Testing: unit_tests_built
1/7 Test: unit_tests_built
Command: "/usr/bin/cmake" "--build" "." "--target" "unit_tests" "--config" "Gentoo"
Directory: /var/tmp/portage/sci-mathematics/netgen-6.2.2008/work/netgen-6.2.2008_build/tests/catch/../..
"unit_tests_built" start time: Oct 15 12:41 -00
Output:
----------------------------------------------------------
[1/1] cd /var/tmp/portage/sci-mathematics/netgen-6.2.2008/work/netgen-6.2.2008_build && /usr/bin/cmake -DBDIR=/var/tmp/portage/sci-mathematics/netgen-6.2.2008/work/netgen-6.2.2008_build -P /var/tmp/portage/sci-mathematics/netgen-6.2.2008/work/netgen-6.2.2008/cmake/generate_version_file.cmake
-- Found Git: /usr/bin/git (found version "2.28.0") 
CMake Warning at /var/tmp/portage/sci-mathematics/netgen-6.2.2008/work/netgen-6.2.2008/cmake/generate_version_file.cmake:18 (MESSAGE):
  Could not determine git-version from source code - assuming 6.2.0.0


<end of output>
Test time =   0.03 sec
----------------------------------------------------------
Test Passed.
"unit_tests_built" end time: Oct 15 12:41 -00
"unit_tests_built" time elapsed: 00:00:00
----------------------------------------------------------

2/7 Testing: unit_archive
2/7 Test: unit_archive
Command: "/var/tmp/portage/sci-mathematics/netgen-6.2.2008/work/netgen-6.2.2008_build/tests/catch/test_archive"
Directory: /var/tmp/portage/sci-mathematics/netgen-6.2.2008/work/netgen-6.2.2008_build/tests/catch
"unit_archive" start time: Oct 15 12:41 -00
Output:
----------------------------------------------------------
terminate called after throwing an instance of 'std::invalid_argument'
  what():  stoi
<end of output>
Test time =   0.00 sec
----------------------------------------------------------
Test Failed.
"unit_archive" end time: Oct 15 12:41 -00
"unit_archive" time elapsed: 00:00:00
----------------------------------------------------------

3/7 Testing: unit_array
3/7 Test: unit_array
Command: "/var/tmp/portage/sci-mathematics/netgen-6.2.2008/work/netgen-6.2.2008_build/tests/catch/test_array"
Directory: /var/tmp/portage/sci-mathematics/netgen-6.2.2008/work/netgen-6.2.2008_build/tests/catch
"unit_array" start time: Oct 15 12:41 -00
Output:
----------------------------------------------------------
===============================================================================
All tests passed (37 assertions in 1 test case)

<end of output>
Test time =   0.00 sec
----------------------------------------------------------
Test Passed.
"unit_array" end time: Oct 15 12:41 -00
"unit_array" time elapsed: 00:00:00
----------------------------------------------------------

4/7 Testing: unit_symboltable
4/7 Test: unit_symboltable
Command: "/var/tmp/portage/sci-mathematics/netgen-6.2.2008/work/netgen-6.2.2008_build/tests/catch/test_symboltable"
Directory: /var/tmp/portage/sci-mathematics/netgen-6.2.2008/work/netgen-6.2.2008_build/tests/catch
"unit_symboltable" start time: Oct 15 12:41 -00
Output:
----------------------------------------------------------
terminate called after throwing an instance of 'std::invalid_argument'
  what():  stoi
<end of output>
Test time =   0.00 sec
----------------------------------------------------------
Test Failed.
"unit_symboltable" end time: Oct 15 12:41 -00
"unit_symboltable" time elapsed: 00:00:00
----------------------------------------------------------

5/7 Testing: unit_utils
5/7 Test: unit_utils
Command: "/var/tmp/portage/sci-mathematics/netgen-6.2.2008/work/netgen-6.2.2008_build/tests/catch/test_utils"
Directory: /var/tmp/portage/sci-mathematics/netgen-6.2.2008/work/netgen-6.2.2008_build/tests/catch
"unit_utils" start time: Oct 15 12:41 -00
Output:
----------------------------------------------------------
terminate called after throwing an instance of 'std::invalid_argument'
  what():  stoi
<end of output>
Test time =   0.00 sec
----------------------------------------------------------
Test Failed.
"unit_utils" end time: Oct 15 12:41 -00
"unit_utils" time elapsed: 00:00:00
----------------------------------------------------------

6/7 Testing: unit_version
6/7 Test: unit_version
Command: "/var/tmp/portage/sci-mathematics/netgen-6.2.2008/work/netgen-6.2.2008_build/tests/catch/test_version"
Directory: /var/tmp/portage/sci-mathematics/netgen-6.2.2008/work/netgen-6.2.2008_build/tests/catch
"unit_version" start time: Oct 15 12:41 -00
Output:
----------------------------------------------------------
===============================================================================
All tests passed (7 assertions in 1 test case)

<end of output>
Test time =   0.00 sec
----------------------------------------------------------
Test Passed.
"unit_version" end time: Oct 15 12:41 -00
"unit_version" time elapsed: 00:00:00
----------------------------------------------------------

I do have C++ catch installed so I am not sure what is going wrong here.

Thanks,
Aisha

gentoo-bot pushed a commit to gentoo/sci that referenced this issue Jan 13, 2022
Bug: NGSolve/netgen#72
Bug: NGSolve/netgen#77
Closes: https://bugs.gentoo.org/155424
Closes: https://bugs.gentoo.org/756214
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --force
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant