File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 40
40
run : |
41
41
chmod +x ${{github.workspace}}/TheForceEngine/Tests/runTests.sh
42
42
ls -tral ${{github.workspace}}/build/
43
- ${{github.workspace}}/TheForceEngine/Tests/runTests.sh
43
+ ${{github.workspace}}/TheForceEngine/Tests/runTests.sh ${{github.workspace}}
Original file line number Diff line number Diff line change 1
- # TFE Does not like ~ so lets expand it
1
+ # Setup the root path
2
+ root_path=" $1 "
3
+
4
+ # TFE does not like tildes in paths
2
5
user_path=~
3
6
4
7
# Run the demo and generate new log file
5
- ${{github.workspace} } /build/theforceengine -gDark -r${{github.workspace} }/build /TheForceEngine/Tests/Replays/base_test.demo --demo_logging --exit_after_replay
8
+ $root_path /build/theforceengine -gDark -r$root_path /TheForceEngine/Tests/Replays/base_test.demo --demo_logging --exit_after_replay
6
9
7
10
# Diff Results of the rest
8
- result=` diff <( tail -n 1 $user_path /.local/share/TheForceEngine/replay.log) <( tail -n 1 $user_path /tfe /TheForceEngine/Tests/Replays/base_replay.log) `
11
+ result=` diff <( tail -n 1 $user_path /.local/share/TheForceEngine/replay.log) <( tail -n 1 $root_path /TheForceEngine/Tests/Replays/base_replay.log) `
9
12
10
13
if $result > /dev/null; then
11
14
exit 0
You can’t perform that action at this time.
0 commit comments