summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/colbrowser.cxx2
-rw-r--r--test/demo.cxx9
-rw-r--r--test/demo.menu2
3 files changed, 8 insertions, 5 deletions
diff --git a/test/colbrowser.cxx b/test/colbrowser.cxx
index 98100da8a..f90559eb9 100644
--- a/test/colbrowser.cxx
+++ b/test/colbrowser.cxx
@@ -67,7 +67,7 @@ main(int argc, char *argv[])
create_form_cl();
#ifdef USING_XCODE
- strcpy(dbname, "../../../../test/rgb.txt");
+ strcpy(dbname, "../../../../../../../test/rgb.txt");
#else
strcpy(dbname, "rgb.txt");
#endif
diff --git a/test/demo.cxx b/test/demo.cxx
index 442c945dd..69a853523 100644
--- a/test/demo.cxx
+++ b/test/demo.cxx
@@ -283,11 +283,14 @@ void dobut(Fl_Widget *, long arg)
if (arg) {
*arg = 0;
if (strcmp(cmd, "../fluid/fluid")==0)
- sprintf(command, "open ../../../Fluid.app --args %s", arg+1);
+// sprintf(command, "open ../../../Fluid.app --args %s", arg+1);
+ sprintf(command, "../../../Fluid.app/Contents/MacOS/Fluid ../../../../../../../test/%s", arg+1);
else
- sprintf(command, "open ../../../%s.app --args %s", cmd, arg+1);
+// sprintf(command, "open ../../../%s.app --args %s", cmd, arg+1);
+ sprintf(command, "../../../%s.app/Contents/MacOS/%s ../../../../../../../test/%s", cmd, cmd, arg+1);
} else {
- sprintf(command, "open ../../../%s.app", cmd);
+// sprintf(command, "open ../../../%s.app", cmd);
+ sprintf(command, "../../../%s.app/Contents/MacOS/%s", cmd, cmd);
}
// puts(command);
system(command);
diff --git a/test/demo.menu b/test/demo.menu
index f3f0ebb90..f8addd2f4 100644
--- a/test/demo.menu
+++ b/test/demo.menu
@@ -66,7 +66,7 @@
@e:Sudoku:sudoku
@main:Other\nTests:@o
- @o:Color Choosers:color_chooser r
+ @o:Color Choosers:color_chooser
@o:File Chooser:file_chooser
@o:Native File Chooser:native-filechooser
@o:Font Tests:@of