2017-04-28 10:53:52 +08:00
|
|
|
#
|
|
|
|
# Copyright (C) 2012 - present Instructure, Inc.
|
|
|
|
#
|
|
|
|
# This file is part of Canvas.
|
|
|
|
#
|
|
|
|
# Canvas is free software: you can redistribute it and/or modify it under
|
|
|
|
# the terms of the GNU Affero General Public License as published by the Free
|
|
|
|
# Software Foundation, version 3 of the License.
|
|
|
|
#
|
|
|
|
# Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
|
|
# A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
|
|
|
|
# details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Affero General Public License along
|
|
|
|
# with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
2012-06-09 01:56:31 +08:00
|
|
|
module ParallelExclude
|
2013-01-22 07:45:16 +08:00
|
|
|
FILES = [
|
2013-07-16 05:07:34 +08:00
|
|
|
"spec/apis/v1/calendar_events_api_spec.rb",
|
2013-08-27 04:12:17 +08:00
|
|
|
"spec/integration/files_spec.rb",
|
|
|
|
"spec/models/media_object_spec.rb",
|
2013-07-16 05:07:34 +08:00
|
|
|
"spec/lib/content_zipper_spec.rb",
|
2013-08-27 04:12:17 +08:00
|
|
|
"spec/lib/file_in_context_spec.rb",
|
|
|
|
"vendor/plugins/respondus_lockdown_browser/spec_canvas/integration/respondus_ldb_spec.rb",
|
|
|
|
"spec/models/attachment_spec.rb"
|
2013-01-22 07:45:16 +08:00
|
|
|
]
|
2012-06-12 03:24:02 +08:00
|
|
|
|
2014-07-30 05:33:55 +08:00
|
|
|
test_files = FileList['{gems,vendor}/plugins/*/spec_canvas/**/*_spec.rb'].exclude(%r'spec_canvas/selenium') + FileList['spec/**/*_spec.rb'].exclude(%r'spec/selenium')
|
2013-08-27 04:12:17 +08:00
|
|
|
AVAILABLE_FILES = FILES.select{|file_name| test_files.include?(file_name) }
|
2012-06-21 01:57:22 +08:00
|
|
|
end
|