Commit graph

129 commits

Author SHA1 Message Date
Tim Mayberry
dbcc1f1d39 Rename PBD::find_file_in_search_path to just PBD::find_file
saves a bit of typing and not necessary if you look at how it is used.

Conflicts:
	gtk2_ardour/about.cc
	gtk2_ardour/session_dialog.cc
	libs/pbd/system_exec.cc
2014-08-17 18:36:02 -04:00
John Emmas
aa7c2ab5c2 Transfer 'midi_patch_search_path()' into 'libs/ardour/search_paths.cc' 2014-03-10 16:24:08 +00:00
John Emmas
06fe0a5172 Create 'libs/ardour/search_paths.cc/.h' and transfer backend_search_path() to it 2014-03-10 16:24:05 +00:00
Paul Davis
658bb3ccd4 finished merge of cairocanvas with windows and windows+cc branches 2014-01-10 17:11:10 -05:00
Paul Davis
3020b224fa Merge windows+cc branch into cairocanvas branch. Not finished, need to now merge windows branch to get changes from there 2014-01-10 16:07:57 -05:00
Julien de Kozak
b439b79813 Fix tests compilation after Control API changes 2014-01-02 09:00:58 -05:00
Hans Baier
6e5240c24b interpolation_test: add some necessary assertions 2013-12-19 05:31:39 +07:00
Tim Mayberry
be376350b5 A few basic tests for AudioEngine 2013-12-07 20:48:19 +10:00
Paul Davis
69a8fc43e2 Merge branch 'master' into windows 2013-10-15 11:17:12 -04:00
John Emmas
e466ce40ad Merge branch 'master' into windows+cc
Conflicts (hopefully resolved):
	gtk2_ardour/ardour_ui.cc
2013-10-14 19:31:22 +01:00
Tim Mayberry
a0b9751866 Fix ardour tests to work with new AudioEngine/Backends changes 2013-10-11 22:36:19 +10:00
Tim Mayberry
2e91da8a26 Write state data from automation list test to check why test is failing 2013-10-11 22:36:19 +10:00
Tim Mayberry
42b475069b Add arg to test function to be able to prefix test output directory
This makes it much easier to find test output from a specific test
2013-10-11 22:36:19 +10:00
Tim Mayberry
b91fa19fe7 return bool in test util function to check writing xml to file is successful 2013-10-11 22:36:19 +10:00
Tim Mayberry
ee95f05fee Use test_search_path to find test data files for automation test 2013-10-11 22:36:19 +10:00
Tim Mayberry
1eed53c4a8 Update test to use correct SourceFactory::createWritable API 2013-10-11 22:36:19 +10:00
Tim Mayberry
e53bf08b10 Delete test_globals.h/cc now that the contents has moved to test_common.h/cc 2013-10-11 22:36:19 +10:00
Tim Mayberry
d30fa04013 Add get_test_sample_rate to common test functions in libardour tests 2013-10-11 22:36:19 +10:00
Tim Mayberry
8ddd12a60d Rename SearchPath class Searchpath
Windows headers define SearchPath which means we have to undefine it
where necessary. This is a pain and can be tricksy, so I feel renaming
the class slightly is the easiest solution.
2013-09-06 14:31:11 +10:00
Tim Mayberry
dadc9f63e7 Add test for writing a jack config file 2013-09-06 14:30:38 +10:00
Tim Mayberry
538a1e79c4 Remove ARDOUR::start_jack_server now that jack autostart works on windows 2013-09-06 14:30:19 +10:00
John Emmas
0dc8806ee4 'libs/ardour' - Platform specific changes and includes 2013-08-04 19:03:32 +01:00
Paul Davis
a8647faca7 Add JACK utility functions in libardour and test
This contains much of the code present in the GUI EngineDialog class
but refactored with some added windows bits.
2013-07-15 12:46:35 -04:00
Paul Davis
81dbc20bac Add basic test for PluginManager and LADSPA plugins 2013-07-15 12:40:06 -04:00
Paul Davis
f47499f157 Use g_random_int instead of ::random for portability 2013-07-11 11:38:46 -04:00
Paul Davis
e842ae539a Fix portability of test and use temporary test 2013-07-11 11:12:39 -04:00
Paul Davis
dc491cffdb Use common test function to create temporary session 2013-07-11 11:11:45 -04:00
Paul Davis
d555b43f5b add new files from test changes by timbyr 2013-07-11 11:10:56 -04:00
Paul Davis
d2ea18c4b6 theoretically: "Add new_test_output_dir to common libardour test" but actually features addition of new files, thus losing git history for these two which came from tim mayberry 2013-07-11 11:07:13 -04:00
Paul Davis
4994073e93 Use test_search_path function in ardour test 2013-07-11 11:01:36 -04:00
Robin Gareus
cc960c4f07 remove executable mode-bit from files 2013-06-16 21:54:08 +02:00
Adrian Knoth
5aa8e8598c Delete *.bak files 2013-04-22 20:02:08 +02:00
Julien de Kozak
f0f26fb8d3 Fix tests compilation 2013-03-30 18:39:43 +01:00
David Robillard
fa8d0268eb Fix compilation with --test.
Make midnam test suite pass again.

The Ardour test suite does not pass.  I commented out old crossfade stuff, but
I am not familiar enough with the parts that fail to fix it.  It might be a
good idea for someone to look into this.  Ideally we'd have the test integrated
into everyone's workflow, but they add quite a few files to compile...


git-svn-id: svn://localhost/ardour2/branches/3.0@13931 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20 18:23:42 +00:00
Carl Hetherington
0b2359098f Fix libardour test build.
git-svn-id: svn://localhost/ardour2/branches/3.0@13510 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-15 19:46:40 +00:00
Sakari Bergen
1573ea991d Add missing #includes to some tests
git-svn-id: svn://localhost/ardour2/branches/3.0@13100 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-28 09:08:29 +00:00
Carl Hetherington
a50dd69c0c Add test for loading sessions, and a session with a
rec-enabled track that currently crashes.


git-svn-id: svn://localhost/ardour2/branches/3.0@12945 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-26 18:47:20 +00:00
Tim Mayberry
4363a6920f Remove unnecessary header include
git-svn-id: svn://localhost/ardour2/branches/3.0@12849 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:40 +00:00
Carl Hetherington
4d1246e0ee Add load_session to profiling.
git-svn-id: svn://localhost/ardour2/branches/3.0@12775 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 00:25:26 +00:00
Carl Hetherington
9d74f6ece9 Simple arrangement to run basic load tests on a corpus
of sessions.


git-svn-id: svn://localhost/ardour2/branches/3.0@12760 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 18:28:40 +00:00
Carl Hetherington
3d3fa9ae02 Fix up profiling.
git-svn-id: svn://localhost/ardour2/branches/3.0@12754 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 16:58:10 +00:00
Carl Hetherington
611936f346 Use a map of region names to speed up
RegionFactory::new_region_name; should help with #2982.


git-svn-id: svn://localhost/ardour2/branches/3.0@12753 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 16:57:03 +00:00
Carl Hetherington
20ceeb6d3e Do XML comparisons better in tests.
git-svn-id: svn://localhost/ardour2/branches/3.0@12752 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 15:19:12 +00:00
Carl Hetherington
2a5bfa6dcb Basic region naming test.
git-svn-id: svn://localhost/ardour2/branches/3.0@12751 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 15:19:05 +00:00
Carl Hetherington
a8773900a8 Profile of duplicating lots of regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@12750 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17 21:20:51 +00:00
Carl Hetherington
8fc866309f Resurrect profiling code.
git-svn-id: svn://localhost/ardour2/branches/3.0@12749 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17 21:20:11 +00:00
Carl Hetherington
5b0ade2527 Use hardware optimization when running tests.
git-svn-id: svn://localhost/ardour2/branches/3.0@12748 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17 21:19:53 +00:00
Carl Hetherington
5ac22e9095 Add new SharedStatefulProperty which manages a shared_ptr to
some Stateful object, and a subclass to use this for
AutomationList.  SharedStatefulProperty will manage undo / redo
using full copies of the XML state, like MementoCommand,
but does it within the Property undo system.



git-svn-id: svn://localhost/ardour2/branches/3.0@12740 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16 17:20:10 +00:00
Carl Hetherington
e258a15330 Simple test for playlist region equivalency.
git-svn-id: svn://localhost/ardour2/branches/3.0@12724 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-14 13:01:32 +00:00
Carl Hetherington
b7f586f0a3 Remove debugging.
git-svn-id: svn://localhost/ardour2/branches/3.0@12723 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-14 13:01:16 +00:00