Comments (9)
The tests also fail in Ubuntu.
Fusion Warning: XML file does not exist: fusion/testdata/dbroot/vector1/config.xml
Fusion Warning: Unable to read fusion/testdata/dbroot/vector1/config.xml
These failures are because of the relative path.
Actually, the path should be ../../fusion/testdata/dbroot/vector1/config.xml
from earthenterprise.
Yes, the issue is that in tests we have a path relative to src.
I believe it should work if you run from src directory:
./bin/tests/dbroot_generator_tests
./bin/tests/RunAllTests.pl
from earthenterprise.
@tst-ccamp: I didn't seem to get the error when running from <src>, as @andreisel mentioned. Can you clarify how this is expected to be run. (Expected vs. observed behavior.) I am a little unclear about what is being fixed.
Is RunAllTests.pl
supposed to be run after an installation, or during a build? Is it run from scons
? (I only see the copy command.)
from earthenterprise.
@tst-ppenev This is how you run the unit tests. You can run them from the src directory or from within NATIVE-XXX-x86_64/bin/tests. It isn't obvious that you are supposed to run it from the src directory and as @bradh pointed out on the pull request if you run the tests from the src directory it will create temporary files in your git repo which isn't a good practice. It's much better if all of it was run within the tests directory.
from earthenterprise.
@tst-ccamp: Is a developer supposed to run this after building? Or after installing? Should there be a scons
target for running these tests?
from earthenterprise.
I see unit tests as an after-build and before-install step.
Ideally the tests would be run on every build, but (for me) they can be a bit slow, so a separate scons target would make sense. Should that be on a new ticket?
from earthenterprise.
Yeah. You can also pass parameters to scons
builds, like optimize
. We could add one for running unit tests.
from earthenterprise.
Guys. i am facing same issue on Ubuntu 14.04. what can i do ??
from earthenterprise.
@irteza123 As I pointed out on your other ticket, it is being worked. You can test the pull request if you're comfortable with git (see #77 for the branch), or you can wait for it to be merged.
Other than that, all help is appreciated.
from earthenterprise.
Related Issues (20)
- Possible overflow in vector handling
- jumbled text on project dialog boxes
- stage_install fails if Fusion is installed
- Fusion Code does not check c++ vector size before accessing indexes
- Cannot create databases from Fusion UI
- Upgrade jquery to >= 3.5.0 for CVE-2020-11022 and CVE-2020-11023
- Possible null pointer dereference in earth_enterprise/src/fusion/fusionui/AssetChooser.cpp:431
- how to confirm https HOT 3
- OpenGEE server RPM creates incorrect home directories
- Setting an asset "Bad" sometimes blocks dependencies and sometimes doesn't
- CVE-2021-44228 security advisory HOT 1
- installed Google EC on my Audi
- scons: *** [build] Error 1 and Error 2 HOT 7
- Fusion- Preferences - asset manager tab, opening Resource editor default source paths crashes fusion with core dump
- Security Policy violation Binary Artifacts HOT 106
- gesystemmanager running for days
- GEE into Mattermost
- search for places or coordinates, not flying to location but dropping a pin only
- fusion 5.3.8 core dump if asset missing in project
- geeencryptdbroot fail to ncrypt dbroot.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from earthenterprise.