Skip to content

Commit 4b03fc4

Browse files
committed
! r Renamed Reporter Classes to Start with Report
1 parent 8363428 commit 4b03fc4

File tree

12 files changed

+99
-45
lines changed

12 files changed

+99
-45
lines changed

Approval Tests/Approval Tests.lvlib

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
<Item Name="Get Paths.vi" Type="VI" URL="../Get Paths.vi"/>
1717
</Item>
1818
<Item Name="Reporters" Type="Folder">
19-
<Item Name="Beyond Compare.lvclass" Type="LVClass" URL="../Beyond Compare/Beyond Compare.lvclass"/>
20-
<Item Name="LVCompare.lvclass" Type="LVClass" URL="../LVCompare/LVCompare.lvclass"/>
2119
<Item Name="Report Nothing.lvclass" Type="LVClass" URL="../Report Nothing/Report Nothing.lvclass"/>
20+
<Item Name="Report With Beyond Compare.lvclass" Type="LVClass" URL="../Report With Beyord Compare/Report With Beyond Compare.lvclass"/>
2221
<Item Name="Report With DiffTool.lvclass" Type="LVClass" URL="../Report With DiffTool/Report With DiffTool.lvclass"/>
2322
<Item Name="Report With First Working.lvclass" Type="LVClass" URL="../Report With First Working/Report With First Working.lvclass"/>
23+
<Item Name="Report With LVCompare.lvclass" Type="LVClass" URL="../Report With LVCompare/Report With LVCompare.lvclass"/>
2424
<Item Name="Reporter.lvclass" Type="LVClass" URL="../Reporter/Reporter.lvclass"/>
2525
</Item>
2626
<Item Name="Utility" Type="Folder">

Approval Tests/Beyond Compare/Beyond Compare.lvclass

-38
This file was deleted.
-16.7 KB
Binary file not shown.

Approval Tests/LVCompare/Report.vi

-17.7 KB
Binary file not shown.

Approval Tests/Report With Beyord Compare/Report With Beyond Compare.lvclass

+38
Large diffs are not rendered by default.
Binary file not shown.
600 Bytes
Binary file not shown.

Approval Tests/LVCompare/LVCompare.lvclass Approval Tests/Report With LVCompare/Report With LVCompare.lvclass

+5-5
Large diffs are not rendered by default.
18.3 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
#!/bin/bash
2+
# lvcompareWrapper.sh
3+
# ZSS, 19 Aug 2014
4+
# Wrapper to help launch LVCompare as a LabView diff tool
5+
#
6+
# Script cobbled together from the internet, most valuable source
7+
# being http://lavag.org/topic/17934-configuring-git-to-work-with-lvcompare-and-lvmerge/#entry108533
8+
# and thread. Also the git manual topics difftool, diff, and config.
9+
10+
# Get a Windows Absolute path from the git diff-tool style relative path
11+
abspath () {
12+
(
13+
# echo "1= $1"
14+
DIR=$(dirname "$1")
15+
FN=$(basename "$1")
16+
cd "$DIR"
17+
# echo "FN=$FN"
18+
# tr should be doing magical forward-slash to backslash translation
19+
printf "%s/%s" "$(pwd -W)" "$FN" | tr '/' '\\' | tr ' ' '\ '
20+
)
21+
}
22+
23+
# Path to executable, edit this if needed
24+
25+
lvcompare="/c/Program Files/National Instruments/Shared/LabVIEW Compare/LVCompare.exe"
26+
27+
if [[ ! -f "$lvcompare" ]]
28+
then
29+
lvcompare="/c/Program Files (x86)/National Instruments/Shared/LabVIEW Compare/LVCompare.exe"
30+
fi
31+
32+
33+
34+
# Convert each git-relative path to an absolute Windows-style path
35+
localOrig="$2"
36+
remoteOrig="$1"
37+
38+
: '
39+
if [[ "$(basename "$localOrig") == "$(basename "$remoteOrig") ]]
40+
then
41+
remoteNewPath="$(dirname "$remoteOrig")""/""remote""$(basename "$remoteOrig")"
42+
mv "$remoteOrig" "$remoteNewPath"
43+
remoteOrig="$remoteNewPath"
44+
fi
45+
'
46+
47+
localWin=$(abspath "$localOrig")
48+
remoteWin=$(abspath "$remoteOrig")
49+
50+
#
51+
echo Launching "$lvcompare"
52+
echo local "$localWin"
53+
echo remote "$remoteWin"
54+
exec "$lvcompare" "$localWin" "$remoteWin"
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)