Merge lp:~aacid/unity-2d/unity-2d-shell_get_shape_builddir into lp:~unity-2d-team/unity-2d/unity-2d-shell
Proposed by
Albert Astals Cid
on 2012-01-27
| Status: | Merged |
|---|---|
| Approved by: | Gerry Boland on 2012-01-30 |
| Approved revision: | 946 |
| Merged at revision: | 944 |
| Proposed branch: | lp:~aacid/unity-2d/unity-2d-shell_get_shape_builddir |
| Merge into: | lp:~unity-2d-team/unity-2d/unity-2d-shell |
| Diff against target: |
35 lines (+7/-6) 2 files modified
tests/run-tests.rb (+6/-5) tests/shell/input_shaping.rb (+1/-1) |
| To merge this branch: | bzr merge lp:~aacid/unity-2d/unity-2d-shell_get_shape_builddir |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Gerry Boland | 2012-01-27 | Approve on 2012-01-30 | |
| Ugo Riboni | 2012-01-27 | Pending | |
| MichaĆ Sawicz | 2012-01-27 | Pending | |
|
Review via email:
|
|||
Description of the Change
[test] Use the proper way to get the path to the built binary
To post a comment you must log in.
| Albert Astals Cid (aacid) wrote : | # |
I converted binary_dir into a constant so it can be used in input_shaping.rb
lp:~aacid/unity-2d/unity-2d-shell_get_shape_builddir
updated
on 2012-01-30
- 945. By Albert Astals Cid on 2012-01-30
-
Make binary_dir a constant
- 946. By Albert Astals Cid on 2012-01-30
-
remove "warning: already initialized constant BINARY_DIR"


Would be cleaner to have the binary_dir in run-tests.rb a global constant so all tests can use it.
You can use the 'system' call, because we need to figure out a way to have additional test utilities on the system-under-test, so enforcing $SUT.execute_ shell_command is pointless just now in this case.