Beispiel #1
0
        public void ConnectRemoteHost()
        {
            RemoteHost remote = InitRemoteHost();

            remote.PrepareForConnection();
            remote.Execute("echo -n 1", out String result);
            Assert.AreEqual("1", result);
        }
Beispiel #2
0
        public void PrintGCCIncludeDirectoriesCppAtOnce()
        {
            RemoteHost remote = InitRemoteHost();

            remote.PrepareForConnection();
            int rv = remote.Execute("touch /tmp/VCXProjWriterUT.c && g++ -c -Wp,-v /tmp/VCXProjWriterUT.c", out String _);

            Assert.AreEqual(0, rv);
        }
Beispiel #3
0
        public void PrintGCCIncludeDirectoriesAtOnce()
        {
            RemoteHost remote = InitRemoteHost();

            remote.PrepareForConnection();
            int rv = remote.Execute("gcc -E -Wp,-v - < /dev/null", out String _);

            Assert.AreEqual(0, rv);
        }
Beispiel #4
0
        public void PrintGCCPredefinedMacrosAtOnce()
        {
            RemoteHost remote = InitRemoteHost();

            remote.PrepareForConnection();
            int rv = remote.Execute("gcc -E -dM - < /dev/null", out String _);

            Assert.AreEqual(0, rv);
        }