<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">

<p style="color: #777777;">
<a href="https://gitlab.com/dueno">Daiki Ueno</a>
<a href="https://gitlab.com/gnutls/gnutls/-/merge_requests/1460#note_727095286">commented</a>:
</p>
<div style="">
<p dir="auto"><a href="https://gitlab.com/dwmw2" data-user="274866" data-reference-type="user" data-container="body" data-placement="top" class="gfm gfm-project_member js-user-link" title="David Woodhouse">@dwmw2</a> could you instruct me how I can run the swtpm tests in OpenConnect against locally installed GnuTLS? With this <a href="https://gitlab.com/gnutls/gnutls/uploads/a1278991cb21641df9f817304380d57a/gnutls-tpm2.diff" data-canonical-src="/uploads/a1278991cb21641df9f817304380d57a/gnutls-tpm2.diff" data-link="true" class="gfm">patch</a>, should the following steps be sufficient?</p>
<pre class="code highlight js-syntax-highlight language-console" lang="console" v-pre="true"><code><span id="LC1" class="line" lang="console"><span class="gp">$</span><span class="w"> </span><span class="nb">cd</span> ../gnutls</span>
<span id="LC2" class="line" lang="console"><span class="gp">$</span><span class="w"> </span>./configure <span class="nt">--prefix</span><span class="o">=</span>build <span class="nt">--disable-doc</span> <span class="nt">--disable-guile</span></span>
<span id="LC3" class="line" lang="console"><span class="gp">$</span><span class="w"> </span>make <span class="o">&&</span> make <span class="nb">install</span></span>
<span id="LC4" class="line" lang="console"><span class="gp">$</span><span class="w"> </span><span class="nb">cd</span> ../openconnect</span>
<span id="LC5" class="line" lang="console"><span class="gp">$</span><span class="w"> </span>patch <span class="nt">-p1</span> < gnutls-tpm2.diff</span>
<span id="LC6" class="line" lang="console"><span class="gp">$</span><span class="w"> </span><span class="nv">PKG_CONFIG_PATH</span><span class="o">=</span><span class="nv">$PWD</span>/../gnutls/build/lib/pkgconfig ./configure</span>
<span id="LC7" class="line" lang="console"><span class="gp">$</span><span class="w"> </span>make</span>
<span id="LC8" class="line" lang="console"><span class="gp">$</span><span class="w"> </span>make check <span class="nv">TESTS</span><span class="o">=</span>auth-swtpm</span></code></pre>
</div>


</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #666;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/merge_requests/1460#note_727095286">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/-/sent_notifications/d48bbfc6be7bc23fd3c0afdf5b38dc28/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Merge request","url":"https://gitlab.com/gnutls/gnutls/-/merge_requests/1460#note_727095286"}}</script>


</p>
</div>
</body>
</html>