You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Moving towards reusing existing scripts to ensure local and CI tests are kept in sync.
Closes#18307
Differential Revision: D7222664
Pulled By: hramos
fbshipit-source-id: ecce91e32159c55b19c29eab69a6754642f02236
echo"in your .bashrc or .bash_profile to fix this."
31
36
echo
32
37
echo"If you don't want to alter BUCKVERSION for other things running on"
33
38
echo"your machine, you can just scope it to a single script, for example"
34
39
echo"by running something like:"
35
40
echo
36
-
echo"BUCKVERSION=${SUGGESTED}$0"
41
+
echo"BUCKVERSION=${BUCK_SUGGESTED_COMMIT_FB}$0"
37
42
echo
38
43
else
39
44
echo"I don't know what's wrong, but calling 'buck --version' should work."
40
45
fi
41
46
exit 1
47
+
else
48
+
if [ "$BUCK_ACTUAL_COMMIT"=="$BUCK_SUGGESTED_COMMIT" ];then
49
+
echo"${BUCK_ACTUAL_COMMIT}"
50
+
elif [ !-d"/opt/facebook" ];then
51
+
echo"Warn: The test suite expects buck version ${BUCK_SUGGESTED_COMMIT} (${BUCK_SUGGESTED_V}) to be installed, but found ${BUCK_ACTUAL_COMMIT} instead"
52
+
fi
42
53
fi
43
54
44
55
# BUILD_TOOLS_VERSION is in a format like "23.0.1"
0 commit comments