Skip to content

Commit 7d7408b

Browse files
committed
updating
1 parent ebd2126 commit 7d7408b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

TheForceEngine/Tests/runTests.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,18 @@ ls -tral $root_path
88

99
ls -tral $root_path/TheForceEngine/
1010

11+
ls -tral $root_path/TheForceEngine/Tests/
12+
13+
ldd $root_path/TheForceEngine/theforceengine
14+
1115
# Run the demo and generate new log file
1216
echo "running tfe"
13-
$root_path/build/theforceengine -gDark -r$root_path/TheForceEngine/Tests/Replays/base_test.demo --demo_logging --exit_after_replay
17+
$root_path/TheForceEngine/theforceengine -gDark -r$root_path/Tests/Replays/base_test.demo --demo_logging --exit_after_replay
1418
echo "Result is "$?
1519
echo "Done running tfe"
1620

1721
# Diff Results of the rest
18-
result=`diff <(tail -n 1 $user_path/.local/share/TheForceEngine/replay.log) <(tail -n 1 $root_path/TheForceEngine/Tests/Replays/base_replay.log)`
22+
result=`diff <(tail -n 1 $user_path/.local/share/TheForceEngine/replay.log) <(tail -n 1 $root_path/Tests/Replays/base_replay.log)`
1923

2024
if $result > /dev/null; then
2125
echo "RESULTS MATCH!"

0 commit comments

Comments
 (0)