[make check] extension tests fail on OS X (script assumes GNU versions of mktemp and sed)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
su_v |
Bug Description
The script 'share/
$ ./run-all-
##### Extension Tests #####
usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
mktemp [-d] [-q] [-u] -t prefix
usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
mktemp [-d] [-q] [-u] -t prefix
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
>> Testing
/Volumes/
./run-all-
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
(…)
Notes:
The attached diff (patching 'share/
Possibly these kind of changes could be replaced by some autotools magic, but that's beyond my current skill set: The changes (add version test for mktemp and sed in the bash script, modify arguments depending on detected version) are based on solutions picked rather "randomly" from Google search results, and only served as interim solutions while investigating the issue before filing the report.
---
Keyword: cxxtest
description: | updated |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Patch works fine for me. Committed in lp:inkscape r12483