Changeset 36877
- Timestamp:
- 2022-11-02T14:49:33+13:00 (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/nightly-tasks/diffcol/trunk/diffcol/flatdbdiff.pm
r36876 r36877 1 package gdbdiff;1 package flatdbdiff; 2 2 3 3 BEGIN { … … 17 17 } 18 18 19 sub readin_ gdb19 sub readin_flat_db 20 20 { 21 21 my ($cmd) = @_; … … 34 34 } 35 35 36 sub read_ db36 sub read_flat_db 37 37 { 38 38 # need to sort text output of both test and model col database files, to normalise them for the comparison … … 45 45 } 46 46 47 my $db_text = readin_ gdb($db_cmd);47 my $db_text = readin_flat_db($db_cmd); 48 48 return $db_text; 49 49 } … … 65 65 close(PIPE); 66 66 } 67 return &read_ db("$db_filename");67 return &read_flat_db("$db_filename"); 68 68 } 69 69 … … 78 78 } 79 79 80 sub test_ gdb80 sub test_flat_db 81 81 { 82 82 my ($full_modeldb, $full_testdb, $strColName, $test_os, $model_os, $strTestCol, $strModelCol, $debugging) = @_; … … 85 85 my ($dbname, $dirname, $suffix)= &File::Basename::fileparse($full_testdb, "\\.[^\\.]+\$"); 86 86 87 my $model_text = read_ db($full_modeldb);88 my $test_text = read_ db($full_testdb);87 my $model_text = read_flat_db($full_modeldb); 88 my $test_text = read_flat_db($full_testdb); 89 89 90 90 my $savepath = &getcwd."/../"; # TASK_HOME env var does not exist at this stage, but it's one level up from current directory
Note:
See TracChangeset
for help on using the changeset viewer.