Changeset 36850
- Timestamp:
- 2022-10-21T17:29:52+13:00 (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/nightly-tasks/diffcol/trunk/task.pl
r36807 r36850 827 827 828 828 for my $collection (@collections) { 829 830 my $model_os_for_collection = $model_os; 831 if($collection =~ m/Word-PDF-Enhanced/) { 832 print STDERR "**** Found windows-scripting collection for Windows only: collection Word-PDF-Enhanced\n"; 833 if($test_os ne "windows") { 834 print STDERR "**** Can't test windows-specific collection on non-windows test OS: $test_os. Skipping this collection.\n"; 835 next; 836 } else { 837 $model_os_for_collection = "windows"; 838 print STDERR "**** This is a windows-specific collection, its model collection should have been built on windows.\n"; 839 print STDERR "**** Thus switching the OS setting for this model collection to: $model_os_for_collection.\n"; 840 } 841 } 842 829 843 chdir($collect_parent); # for GS3 too, ensure we're first in the collect folder for each collection 830 844 … … 891 905 # and what os this test machine is (on which the test cols will be generated) 892 906 my $debug_state = $debugging ? "-debug" : ""; 893 $cmd = "diffcol.pl -testos $test_os -modelos $model_os -output xml -verbosity 10 $debug_state $collection"; # need to run with ./diffcol.pl if bash script907 $cmd = "diffcol.pl -testos $test_os -modelos $model_os_for_collection -output xml -verbosity 10 $debug_state $collection"; # need to run with ./diffcol.pl if bash script 894 908 895 909 #print STDERR "Running diffcol cmd: $cmd\n";
Note:
See TracChangeset
for help on using the changeset viewer.